![]() |
NDEVR
API Documentation
|
A 3D point in the SLAM map observed by multiple keyframes. More...
Public Member Functions | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | MapPoint (const Eigen::Vector3< g_type > &Pos, KeyFrame *pRefKF, Map *pMap) |
| Constructs a map point from a keyframe observation. | |
| MapPoint (const Eigen::Vector3< g_type > &Pos, Map *pMap, Frame *pFrame, uint04 idxF) | |
| Constructs a map point from a frame observation. | |
| void | SetWorldPos (const Eigen::Vector3< g_type > &Pos) |
| Sets the 3D world position. | |
A 3D point in the SLAM map observed by multiple keyframes.
MapPoints store their world position, viewing direction, descriptor, observation set, and scale invariance distances. They are created during triangulation and refined through bundle adjustment.
Definition at line 23 of file MapPoint.h.
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW MapPoint::MapPoint | ( | const Eigen::Vector3< g_type > & | Pos, |
| KeyFrame * | pRefKF, | ||
| Map * | pMap ) |
Constructs a map point from a keyframe observation.
| [in] | Pos | 3D world position. |
| [in] | pRefKF | Reference keyframe. |
| [in] | pMap | Map this point belongs to. |
| MapPoint::MapPoint | ( | const Eigen::Vector3< g_type > & | Pos, |
| Map * | pMap, | ||
| Frame * | pFrame, | ||
| uint04 | idxF ) |
Constructs a map point from a frame observation.
| [in] | Pos | 3D world position. |
| [in] | pMap | Map this point belongs to. |
| [in] | pFrame | Source frame. |
| [in] | idxF | Keypoint index in the frame. |
| void MapPoint::SetWorldPos | ( | const Eigen::Vector3< g_type > & | Pos | ) |
Sets the 3D world position.
| [in] | Pos | New world position. |