Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Protected Attributes

mrpt::vision::CMatchedFeatureList Class Reference


Detailed Description

A list of features.

Definition at line 366 of file CFeature.h.

#include <mrpt/vision/CFeature.h>

Inheritance diagram for mrpt::vision::CMatchedFeatureList:
Inheritance graph
[legend]

List of all members.

Public Member Functions

TFeatureType get_type () const
 The type of the first feature in the list.
void saveToTextFile (const std::string &fileName)
 Save list of matched features to a text file.
void getBothFeatureLists (CFeatureList &list1, CFeatureList &list2)
 Returns the matching features as two separate CFeatureLists.
CFeaturePtr getByID (const TFeatureID &ID, const TListIdx &idx)
 Returns a smart pointer to the feature with the provided ID or a empty one if not found.
void getMaxID (const TListIdx &idx, TFeatureID &firstListID, TFeatureID &secondListID)
 Returns the maximum ID of the features in the list.
void updateMaxID (const TListIdx &idx)
 Updates the value of the maximum ID of the features in the matched list, i.e.
void setLeftMaxID (const TFeatureID &leftID)
 Explicitly set the max IDs values to certain values.
void setRightMaxID (const TFeatureID &rightID)
void setMaxIDs (const TFeatureID &leftID, const TFeatureID &rightID)
 CMatchedFeatureList ()
 Constructor.
virtual ~CMatchedFeatureList ()
 Virtual destructor.

Protected Attributes

TFeatureID m_leftMaxID
TFeatureID m_rightMaxID

Constructor & Destructor Documentation

mrpt::vision::CMatchedFeatureList::CMatchedFeatureList ( )

Constructor.

virtual mrpt::vision::CMatchedFeatureList::~CMatchedFeatureList ( ) [virtual]

Virtual destructor.


Member Function Documentation

TFeatureType mrpt::vision::CMatchedFeatureList::get_type ( ) const [inline]

The type of the first feature in the list.

Definition at line 370 of file CFeature.h.

References begin(), empty(), mrpt::vision::featNotDefined, and get_type().

Referenced by get_type().

void mrpt::vision::CMatchedFeatureList::getBothFeatureLists ( CFeatureList list1,
CFeatureList list2 
)

Returns the matching features as two separate CFeatureLists.

CFeaturePtr mrpt::vision::CMatchedFeatureList::getByID ( const TFeatureID ID,
const TListIdx idx 
)

Returns a smart pointer to the feature with the provided ID or a empty one if not found.

void mrpt::vision::CMatchedFeatureList::getMaxID ( const TListIdx idx,
TFeatureID firstListID,
TFeatureID secondListID 
)

Returns the maximum ID of the features in the list.

If the max ID has been already set up, this method just returns it. Otherwise, this method finds, stores and returns it.

void mrpt::vision::CMatchedFeatureList::saveToTextFile ( const std::string &  fileName)

Save list of matched features to a text file.

void mrpt::vision::CMatchedFeatureList::setLeftMaxID ( const TFeatureID leftID) [inline]

Explicitly set the max IDs values to certain values.

Definition at line 389 of file CFeature.h.

void mrpt::vision::CMatchedFeatureList::setMaxIDs ( const TFeatureID leftID,
const TFeatureID rightID 
) [inline]

Definition at line 391 of file CFeature.h.

void mrpt::vision::CMatchedFeatureList::setRightMaxID ( const TFeatureID rightID) [inline]

Definition at line 390 of file CFeature.h.

void mrpt::vision::CMatchedFeatureList::updateMaxID ( const TListIdx idx)

Updates the value of the maximum ID of the features in the matched list, i.e.

it explicitly searches for the max ID and updates the member variables.


Member Data Documentation

Definition at line 403 of file CFeature.h.

Definition at line 403 of file CFeature.h.




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011