ReadFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rdf::PixelEdge Class Reference

#include <Pixel.h>

Inheritance diagram for rdf::PixelEdge:
Collaboration diagram for rdf::PixelEdge:

Public Member Functions

 PixelEdge ()
 
 PixelEdge (const QSharedPointer< Pixel > first, const QSharedPointer< Pixel > second, const QString &id=QString())
 
bool isNull () const
 
virtual double edgeWeight () const
 
Line edge () const
 
void draw (QPainter &p) const
 
QSharedPointer< Pixelfirst () const
 
QSharedPointer< Pixelsecond () const
 
- Public Member Functions inherited from rdf::BaseElement
 BaseElement (const QString &id=QString())
 This class keeps an ID to keep track of transformed elements during a processing chain. You can e.g. generate Pixel elements from MserBlobs. After filtering, processing etc. you can map back to the (pixel accurate) MserBlob using this ID. More...
 
QString id () const
 Returns the elment's id. More...
 

Protected Attributes

bool mIsNull = true
 
QSharedPointer< PixelmFirst
 
QSharedPointer< PixelmSecond
 
Line mEdge
 
- Protected Attributes inherited from rdf::BaseElement
QString mId
 

Constructor & Destructor Documentation

rdf::PixelEdge::PixelEdge ( )
rdf::PixelEdge::PixelEdge ( const QSharedPointer< Pixel first,
const QSharedPointer< Pixel second,
const QString &  id = QString() 
)

Member Function Documentation

void rdf::PixelEdge::draw ( QPainter &  p) const
Line rdf::PixelEdge::edge ( ) const
double rdf::PixelEdge::edgeWeight ( ) const
virtual

Reimplemented in rdf::LineEdge.

QSharedPointer< Pixel > rdf::PixelEdge::first ( ) const
bool rdf::PixelEdge::isNull ( ) const
QSharedPointer< Pixel > rdf::PixelEdge::second ( ) const

Member Data Documentation

Line rdf::PixelEdge::mEdge
protected
QSharedPointer<Pixel> rdf::PixelEdge::mFirst
protected
bool rdf::PixelEdge::mIsNull = true
protected
QSharedPointer<Pixel> rdf::PixelEdge::mSecond
protected

The documentation for this class was generated from the following files: