Main MRPT website > C++ reference
MRPT logo

mrpt::vision::CFeatureList Class Reference

A list of features. More...

#include <mrpt/vision/CFeature.h>

Inheritance diagram for mrpt::vision::CFeatureList:
Inheritance graph
[legend]
Collaboration diagram for mrpt::vision::CFeatureList:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

A list of features.

Definition at line 232 of file CFeature.h.


Constructor & Destructor Documentation

mrpt::vision::CFeatureList::CFeatureList (  ) 

Constructor.

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

Virtual destructor.


Member Function Documentation

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010