ORB SLA2
Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
ORB_SLAM2::MapPoint Class Reference
Collaboration diagram for ORB_SLAM2::MapPoint:
Collaboration graph
[legend]

Public Member Functions

 MapPoint (const cv::Mat &Pos, KeyFrame *pRefKF, Map *pMap)
 
 MapPoint (const cv::Mat &Pos, Map *pMap, Frame *pFrame, const int &idxF)
 
void SetWorldPos (const cv::Mat &Pos)
 
cv::Mat GetWorldPos ()
 
cv::Mat GetNormal ()
 
KeyFrameGetReferenceKeyFrame ()
 
std::map< KeyFrame *, size_t > GetObservations ()
 
int Observations ()
 
void AddObservation (KeyFrame *pKF, size_t idx)
 
void EraseObservation (KeyFrame *pKF)
 
int GetIndexInKeyFrame (KeyFrame *pKF)
 
bool IsInKeyFrame (KeyFrame *pKF)
 
void SetBadFlag ()
 
bool isBad ()
 
void Replace (MapPoint *pMP)
 
MapPointGetReplaced ()
 
void IncreaseVisible (int n=1)
 
void IncreaseFound (int n=1)
 
float GetFoundRatio ()
 
int GetFound ()
 
void ComputeDistinctiveDescriptors ()
 
cv::Mat GetDescriptor ()
 
void UpdateNormalAndDepth ()
 
float GetMinDistanceInvariance ()
 
float GetMaxDistanceInvariance ()
 
int PredictScale (const float &currentDist, KeyFrame *pKF)
 
int PredictScale (const float &currentDist, Frame *pF)
 

Public Attributes

long unsigned int mnId
 
long int mnFirstKFid
 
long int mnFirstFrame
 
int nObs
 
float mTrackProjX
 
float mTrackProjY
 
float mTrackProjXR
 
bool mbTrackInView
 
int mnTrackScaleLevel
 
float mTrackViewCos
 
long unsigned int mnTrackReferenceForFrame
 
long unsigned int mnLastFrameSeen
 
long unsigned int mnBALocalForKF
 
long unsigned int mnFuseCandidateForKF
 
long unsigned int mnLoopPointForKF
 
long unsigned int mnCorrectedByKF
 
long unsigned int mnCorrectedReference
 
cv::Mat mPosGBA
 
long unsigned int mnBAGlobalForKF
 

Static Public Attributes

static long unsigned int nNextId =0
 
static std::mutex mGlobalMutex
 

Protected Attributes

cv::Mat mWorldPos
 
std::map< KeyFrame *, size_t > mObservations
 
cv::Mat mNormalVector
 
cv::Mat mDescriptor
 
KeyFramempRefKF
 
int mnVisible
 
int mnFound
 
bool mbBad
 
MapPointmpReplaced
 
float mfMinDistance
 
float mfMaxDistance
 
MapmpMap
 
std::mutex mMutexPos
 
std::mutex mMutexFeatures
 

The documentation for this class was generated from the following files: