The list of landmarks: the wrapper class is just for maintaining the KD-Tree representation.
Definition at line 90 of file CLandmarksMap.h.
#include <mrpt/slam/CLandmarksMap.h>
Public Types | |
| typedef TSequenceLandmarks::iterator | iterator |
| typedef TSequenceLandmarks::const_iterator | const_iterator |
Public Member Functions | |
| TCustomSequenceLandmarks () | |
| Default constructor. More... | |
| iterator | begin () |
| iterator | end () |
| void | clear () |
| size_t | size () const |
| const_iterator | begin () const |
| const_iterator | end () const |
| void | push_back (const CLandmark &lm) |
| The object is copied, thus the original copy passed as a parameter can be released. More... | |
| CLandmark * | get (unsigned int indx) |
| const CLandmark * | get (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 CLandmark * | getByID (CLandmark::TLandmarkID ID) const |
| Returns the landmark with a given landmrk ID, or NULL if not found. More... | |
| const CLandmark * | getByBeaconID (unsigned int ID) const |
| Returns the landmark with a given beacon ID, or NULL if not found. More... | |
| 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). More... | |
Private Attributes | |
| TSequenceLandmarks | m_landmarks |
| The actual list: More... | |
| CDynamicGrid< vector_int > | m_grid |
| A grid-map with the set of landmarks falling into each cell. More... | |
| float | m_largestDistanceFromOrigin |
| Auxiliary variables used in "getLargestDistanceFromOrigin". More... | |
| bool | m_largestDistanceFromOriginIsUpdated |
| Auxiliary variables used in "getLargestDistanceFromOrigin". More... | |
| typedef TSequenceLandmarks::const_iterator mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::const_iterator |
Definition at line 121 of file CLandmarksMap.h.
| typedef TSequenceLandmarks::iterator mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::iterator |
Definition at line 117 of file CLandmarksMap.h.
| mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::TCustomSequenceLandmarks | ( | ) |
Default constructor.
|
inline |
Definition at line 118 of file CLandmarksMap.h.
|
inline |
Definition at line 124 of file CLandmarksMap.h.
| void mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::clear | ( | ) |
|
inline |
Definition at line 119 of file CLandmarksMap.h.
|
inline |
Definition at line 125 of file CLandmarksMap.h.
| void mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::erase | ( | unsigned int | indx | ) |
| CLandmark* mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::get | ( | unsigned int | indx | ) |
| const CLandmark* mrpt::slam::CLandmarksMap::TCustomSequenceLandmarks::get | ( | unsigned int | indx | ) | const |
| 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.
|
inline |
Definition at line 137 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 | ( | const CLandmark & | lm | ) |
The object is copied, thus the original copy passed as a parameter can be released.
|
inline |
Definition at line 121 of file CLandmarksMap.h.
|
private |
A grid-map with the set of landmarks falling into each cell.
Definition at line 100 of file CLandmarksMap.h.
|
private |
The actual list:
Definition at line 95 of file CLandmarksMap.h.
|
mutableprivate |
Auxiliary variables used in "getLargestDistanceFromOrigin".
Definition at line 105 of file CLandmarksMap.h.
|
mutableprivate |
Auxiliary variables used in "getLargestDistanceFromOrigin".
Definition at line 110 of file CLandmarksMap.h.
| Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014 |