MRPT logo

mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks Struct Reference

The list of landmarks: the wrapper class is just for maintaining the KD-Tree representation. More...

#include <mrpt/slam/CLandmarksMap.h>

List of all members.

Public Types

typedef
TSequenceLandmarks::iterator 
iterator
typedef
TSequenceLandmarks::const_iterator 
const_iterator

Public Member Functions

 TCustomSequenceLandmarks ()
 Default constructor.
iterator begin ()
iterator end ()
void clear ()
size_t size () const
const_iterator begin () const
const_iterator end () const
void push_back (CLandmark *lm)
 The object is copied, thus the original copy passed as a parameter can be released.
CLandmarkget (unsigned int indx)
const CLandmarkget (unsigned int indx) const
void isToBeModified (unsigned int indx)
void hasBeenModified (unsigned int indx)
void hasBeenModifiedAll ()
void erase (unsigned int indx)
CDynamicGrid< vector_int > * getGrid ()
const CLandmarkgetByID (CLandmark::TLandmarkID ID) const
 Returns the landmark with a given landmrk ID, or NULL if not found.
const CLandmarkgetByBeaconID (unsigned int ID) const
 Returns the landmark with a given beacon ID, or NULL if not found.
float getLargestDistanceFromOrigin () const
 This method returns the largest distance from the origin to any of the points, such as a sphere centered at the origin with this radius cover ALL the points in the map (the results are buffered, such as, if the map is not modified, the second call will be much faster than the first one).

Private Attributes

TSequenceLandmarks m_landmarks
 The actual list:.
CDynamicGrid< vector_intm_grid
 A grid-map with the set of landmarks falling into each cell.
float m_largestDistanceFromOrigin
 Auxiliary variables used in "getLargestDistanceFromOrigin".
bool m_largestDistanceFromOriginIsUpdated
 Auxiliary variables used in "getLargestDistanceFromOrigin".


Detailed Description

The list of landmarks: the wrapper class is just for maintaining the KD-Tree representation.

Definition at line 98 of file CLandmarksMap.h.


Member Typedef Documentation

typedef TSequenceLandmarks::const_iterator mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::const_iterator

Definition at line 129 of file CLandmarksMap.h.

Definition at line 125 of file CLandmarksMap.h.


Constructor & Destructor Documentation

mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::TCustomSequenceLandmarks (  ) 

Default constructor.


Member Function Documentation

const_iterator mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::begin (  )  const [inline]

Definition at line 132 of file CLandmarksMap.h.

iterator mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::begin (  )  [inline]

Definition at line 126 of file CLandmarksMap.h.

void mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::clear (  ) 

const_iterator mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::end (  )  const [inline]

Definition at line 133 of file CLandmarksMap.h.

iterator mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::end (  )  [inline]

Definition at line 127 of file CLandmarksMap.h.

void mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::erase ( unsigned int  indx  ) 

const CLandmark* mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::get ( unsigned int  indx  )  const

CLandmark* mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::get ( unsigned int  indx  ) 

const CLandmark* mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::getByBeaconID ( unsigned int  ID  )  const

Returns the landmark with a given beacon ID, or NULL if not found.

const CLandmark* mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::getByID ( CLandmark::TLandmarkID  ID  )  const

Returns the landmark with a given landmrk ID, or NULL if not found.

CDynamicGrid<vector_int>* mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::getGrid (  )  [inline]

Definition at line 145 of file CLandmarksMap.h.

float mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::getLargestDistanceFromOrigin (  )  const

This method returns the largest distance from the origin to any of the points, such as a sphere centered at the origin with this radius cover ALL the points in the map (the results are buffered, such as, if the map is not modified, the second call will be much faster than the first one).

void mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::hasBeenModified ( unsigned int  indx  ) 

void mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::hasBeenModifiedAll (  ) 

void mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::isToBeModified ( unsigned int  indx  ) 

void mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::push_back ( CLandmark lm  ) 

The object is copied, thus the original copy passed as a parameter can be released.

size_t mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::size (  )  const [inline]

Definition at line 129 of file CLandmarksMap.h.


Member Data Documentation

A grid-map with the set of landmarks falling into each cell.

Todo:
Use the KD-tree instead?

Definition at line 108 of file CLandmarksMap.h.

The actual list:.

Definition at line 103 of file CLandmarksMap.h.

Auxiliary variables used in "getLargestDistanceFromOrigin".

See also:
getLargestDistanceFromOrigin

Definition at line 113 of file CLandmarksMap.h.

Auxiliary variables used in "getLargestDistanceFromOrigin".

See also:
getLargestDistanceFromOrigin

Definition at line 118 of file CLandmarksMap.h.




Page generated by Doxygen 1.5.9 for MRPT 0.6.5 SVN: at Sun Aug 2 11:39:56 CDT 2009