A list of features. More...
#include <mrpt/vision/CFeature.h>


Public Member Functions | |
| TFeatureType | get_type () const |
| The type of feature which contains. | |
| void | saveToTextFile (const std::string &fileName, bool APPEND=false) |
| Save feature list to a text file. | |
| void | loadFromTextFile (const std::string &fileName) |
| Save feature list to a text file. | |
| TFeatureID | getMaxID () const |
| Get the maximum ID into the list. | |
| CFeaturePtr | getByID (TFeatureID ID) const |
| Get a reference to a Feature from its ID. | |
| CFeaturePtr | nearest (const double &x, const double &y, double &dist_prev) const |
| Get a reference of the nearest Feature to a given point Use dist_prev to stablish the maximum distance of search, this parameter gives the distance of the nearest element. | |
| CFeatureList () | |
| Constructor. | |
| virtual | ~CFeatureList () |
| Virtual destructor. | |
A list of features.
Definition at line 232 of file CFeature.h.
| mrpt::vision::CFeatureList::CFeatureList | ( | ) |
Constructor.
| virtual mrpt::vision::CFeatureList::~CFeatureList | ( | ) | [virtual] |
Virtual destructor.
| TFeatureType mrpt::vision::CFeatureList::get_type | ( | ) | const [inline] |
The type of feature which contains.
Definition at line 238 of file CFeature.h.
References mrpt::vision::featNotDefined, and mrpt::math::size().
| CFeaturePtr mrpt::vision::CFeatureList::getByID | ( | TFeatureID | ID | ) | const |
Get a reference to a Feature from its ID.
| TFeatureID mrpt::vision::CFeatureList::getMaxID | ( | ) | const |
Get the maximum ID into the list.
| void mrpt::vision::CFeatureList::loadFromTextFile | ( | const std::string & | fileName | ) |
Save feature list to a text file.
| CFeaturePtr mrpt::vision::CFeatureList::nearest | ( | const double & | x, | |
| const double & | y, | |||
| double & | dist_prev | |||
| ) | const |
Get a reference of the nearest Feature to a given point Use dist_prev to stablish the maximum distance of search, this parameter gives the distance of the nearest element.
| void mrpt::vision::CFeatureList::saveToTextFile | ( | const std::string & | fileName, | |
| bool | APPEND = false | |||
| ) |
Save feature list to a text file.
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |