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

#include <Pixel.h>

Inheritance diagram for rdf::LineEdge:
Collaboration diagram for rdf::LineEdge:

Public Member Functions

 LineEdge ()
 
 LineEdge (const PixelEdge &pe)
 
 LineEdge (const QSharedPointer< Pixel > first, const QSharedPointer< Pixel > second, const QString &id=QString())
 
virtual double edgeWeight () const override
 
- Public Member Functions inherited from rdf::PixelEdge
 PixelEdge ()
 
 PixelEdge (const QSharedPointer< Pixel > first, const QSharedPointer< Pixel > second, const QString &id=QString())
 
bool isNull () 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 Member Functions

double statsWeight (const QSharedPointer< Pixel > &pixel) const
 
double calcWeight () const
 

Protected Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

double rdf::LineEdge::calcWeight ( ) const
protected
double rdf::LineEdge::edgeWeight ( ) const
overridevirtual

Reimplemented from rdf::PixelEdge.

double rdf::LineEdge::statsWeight ( const QSharedPointer< Pixel > &  pixel) const
protected

Member Data Documentation

double rdf::LineEdge::mStatsWeight = 0.0
protected

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