![]() |
NDEVR
API Documentation
|
Represents a single SLAM map containing keyframes and map points. More...
Public Member Functions | |
| Map (int initKFid, LogPtr log) | |
| Constructs a map with an initial keyframe ID. | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | Map (LogPtr log) |
| Constructs an empty map. | |
| ~Map () | |
| Destructor. | |
| void | AddKeyFrame (KeyFrame *pKF) |
| Adds a keyframe to the map. | |
| void | AddMapPoint (MapPoint *pMP) |
| Adds a map point to the map. | |
| void | EraseKeyFrame (KeyFrame *pKF) |
| Removes a keyframe from the map. | |
| void | EraseMapPoint (MapPoint *pMP) |
| Removes a map point from the map. | |
| int | GetLastBigChangeIdx () |
| Returns the index of the last big change. | |
| void | InformNewBigChange () |
| Signals that a big change has occurred (e.g. | |
| void | SetReferenceMapPoints (const Buffer< MapPoint * > &vpMPs) |
| Sets the reference map points. | |
| void | updateID () |
| Updates the map ID. | |
Represents a single SLAM map containing keyframes and map points.
A Map stores the 3D structure (map points) and camera poses (keyframes) for one continuous mapping session. The Atlas manages multiple maps.
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW Map::Map | ( | LogPtr | log | ) |
Constructs an empty map.
| [in] | log | Logger for diagnostic output. |
| Map::Map | ( | int | initKFid, |
| LogPtr | log ) |
Constructs a map with an initial keyframe ID.
| [in] | initKFid | Initial keyframe ID. |
| [in] | log | Logger for diagnostic output. |
| void Map::AddKeyFrame | ( | KeyFrame * | pKF | ) |
Adds a keyframe to the map.
| [in] | pKF | Keyframe to add. |
| void Map::AddMapPoint | ( | MapPoint * | pMP | ) |
Adds a map point to the map.
| [in] | pMP | Map point to add. |
| void Map::EraseKeyFrame | ( | KeyFrame * | pKF | ) |
Removes a keyframe from the map.
| [in] | pKF | Keyframe to remove. |
| void Map::EraseMapPoint | ( | MapPoint * | pMP | ) |
Removes a map point from the map.
| [in] | pMP | Map point to remove. |
| int Map::GetLastBigChangeIdx | ( | ) |
Returns the index of the last big change.
| void Map::InformNewBigChange | ( | ) |
Signals that a big change has occurred (e.g.
loop closure).
Sets the reference map points.
| [in] | vpMPs | Buffer of reference map point pointers. |