ReadFramework
rdf::LineCandidates Class Reference

#include <Shapes.h>

Collaboration diagram for rdf::LineCandidates:

Public Member Functions

 LineCandidates ()
 
 LineCandidates (Line referenceLine)
 
void setReferenceLine (Line referenceLine)
 
Line referenceLine () const
 
bool isEmpty () const
 
void addCandidate (int lIdx, double o, double d)
 
void addCandidate (Line c, int lIdx)
 
void addLineCandidate (LineCandidates lc)
 
rdf::Line mergedLine ()
 
rdf::Line mergeLines (const QVector< rdf::Line > &l)
 
QVector< int > sortByOverlap ()
 
QVector< int > sortByDistance ()
 
void clear ()
 
QVector< int > candidatesIdx () const
 
QVector< double > overlaps () const
 
QVector< double > distances () const
 

Protected Attributes

Line mReferenceLine
 
QVector< int > mLCandidatesIdx
 
QVector< double > mOverlaps
 
QVector< double > mDistances
 

Constructor & Destructor Documentation

rdf::LineCandidates::LineCandidates ( )
rdf::LineCandidates::LineCandidates ( Line  referenceLine)

Member Function Documentation

void rdf::LineCandidates::addCandidate ( int  lIdx,
double  o,
double  d 
)

Here is the caller graph for this function:

void rdf::LineCandidates::addCandidate ( Line  c,
int  lIdx 
)
void rdf::LineCandidates::addLineCandidate ( LineCandidates  lc)

Here is the caller graph for this function:

QVector< int > rdf::LineCandidates::candidatesIdx ( ) const

Here is the caller graph for this function:

void rdf::LineCandidates::clear ( )
QVector< double > rdf::LineCandidates::distances ( ) const

Here is the caller graph for this function:

bool rdf::LineCandidates::isEmpty ( ) const
rdf::Line rdf::LineCandidates::mergedLine ( )
rdf::Line rdf::LineCandidates::mergeLines ( const QVector< rdf::Line > &  l)

Here is the caller graph for this function:

QVector< double > rdf::LineCandidates::overlaps ( ) const

Here is the caller graph for this function:

Line rdf::LineCandidates::referenceLine ( ) const

Here is the caller graph for this function:

void rdf::LineCandidates::setReferenceLine ( Line  referenceLine)

Here is the caller graph for this function:

QVector< int > rdf::LineCandidates::sortByDistance ( )
QVector< int > rdf::LineCandidates::sortByOverlap ( )

Member Data Documentation

QVector<double> rdf::LineCandidates::mDistances
protected
QVector<int> rdf::LineCandidates::mLCandidatesIdx
protected
QVector<double> rdf::LineCandidates::mOverlaps
protected
Line rdf::LineCandidates::mReferenceLine
protected

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