Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
ORB_SLAM2::MapPoint Class Reference

#include <MapPoint.h>

Public Member Functions

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

Public Attributes

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

Static Public Attributes

static std::mutex mGlobalMutex
 
static long unsigned int nNextId
 

Protected Attributes

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

Detailed Description

Definition at line 39 of file MapPoint.h.

Constructor & Destructor Documentation

ORB_SLAM2::MapPoint::MapPoint ( const cv::Mat &  Pos,
KeyFrame pRefKF,
Map pMap 
)
ORB_SLAM2::MapPoint::MapPoint ( const cv::Mat &  Pos,
Map pMap,
Frame pFrame,
const int &  idxF 
)

Member Function Documentation

void ORB_SLAM2::MapPoint::AddObservation ( KeyFrame pKF,
size_t  idx 
)
void ORB_SLAM2::MapPoint::ComputeDistinctiveDescriptors ( )
void ORB_SLAM2::MapPoint::EraseObservation ( KeyFrame pKF)
cv::Mat ORB_SLAM2::MapPoint::GetDescriptor ( )
int ORB_SLAM2::MapPoint::GetFound ( )
inline

Definition at line 68 of file MapPoint.h.

float ORB_SLAM2::MapPoint::GetFoundRatio ( )
int ORB_SLAM2::MapPoint::GetIndexInKeyFrame ( KeyFrame pKF)
float ORB_SLAM2::MapPoint::GetMaxDistanceInvariance ( )
float ORB_SLAM2::MapPoint::GetMinDistanceInvariance ( )
cv::Mat ORB_SLAM2::MapPoint::GetNormal ( )
std::map<KeyFrame*,size_t> ORB_SLAM2::MapPoint::GetObservations ( )
KeyFrame* ORB_SLAM2::MapPoint::GetReferenceKeyFrame ( )
MapPoint* ORB_SLAM2::MapPoint::GetReplaced ( )
cv::Mat ORB_SLAM2::MapPoint::GetWorldPos ( )
void ORB_SLAM2::MapPoint::IncreaseFound ( int  n = 1)
void ORB_SLAM2::MapPoint::IncreaseVisible ( int  n = 1)
bool ORB_SLAM2::MapPoint::isBad ( )
bool ORB_SLAM2::MapPoint::IsInKeyFrame ( KeyFrame pKF)
int ORB_SLAM2::MapPoint::Observations ( )
int ORB_SLAM2::MapPoint::PredictScale ( const float &  currentDist,
KeyFrame pKF 
)
int ORB_SLAM2::MapPoint::PredictScale ( const float &  currentDist,
Frame pF 
)
void ORB_SLAM2::MapPoint::Replace ( MapPoint pMP)
void ORB_SLAM2::MapPoint::SetBadFlag ( )
void ORB_SLAM2::MapPoint::SetWorldPos ( const cv::Mat &  Pos)
void ORB_SLAM2::MapPoint::UpdateNormalAndDepth ( )

Member Data Documentation

bool ORB_SLAM2::MapPoint::mbBad
protected

Definition at line 136 of file MapPoint.h.

bool ORB_SLAM2::MapPoint::mbTrackInView

Definition at line 94 of file MapPoint.h.

cv::Mat ORB_SLAM2::MapPoint::mDescriptor
protected

Definition at line 126 of file MapPoint.h.

float ORB_SLAM2::MapPoint::mfMaxDistance
protected

Definition at line 141 of file MapPoint.h.

float ORB_SLAM2::MapPoint::mfMinDistance
protected

Definition at line 140 of file MapPoint.h.

std::mutex ORB_SLAM2::MapPoint::mGlobalMutex
static

Definition at line 112 of file MapPoint.h.

std::mutex ORB_SLAM2::MapPoint::mMutexFeatures
protected

Definition at line 146 of file MapPoint.h.

std::mutex ORB_SLAM2::MapPoint::mMutexPos
protected

Definition at line 145 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnBAGlobalForKF

Definition at line 109 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnBALocalForKF

Definition at line 101 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnCorrectedByKF

Definition at line 106 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnCorrectedReference

Definition at line 107 of file MapPoint.h.

long int ORB_SLAM2::MapPoint::mnFirstFrame

Definition at line 87 of file MapPoint.h.

long int ORB_SLAM2::MapPoint::mnFirstKFid

Definition at line 86 of file MapPoint.h.

int ORB_SLAM2::MapPoint::mnFound
protected

Definition at line 133 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnFuseCandidateForKF

Definition at line 102 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnId

Definition at line 84 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnLastFrameSeen

Definition at line 98 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnLoopPointForKF

Definition at line 105 of file MapPoint.h.

cv::Mat ORB_SLAM2::MapPoint::mNormalVector
protected

Definition at line 123 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::mnTrackReferenceForFrame

Definition at line 97 of file MapPoint.h.

int ORB_SLAM2::MapPoint::mnTrackScaleLevel

Definition at line 95 of file MapPoint.h.

int ORB_SLAM2::MapPoint::mnVisible
protected

Definition at line 132 of file MapPoint.h.

std::map<KeyFrame*,size_t> ORB_SLAM2::MapPoint::mObservations
protected

Definition at line 120 of file MapPoint.h.

Map* ORB_SLAM2::MapPoint::mpMap
protected

Definition at line 143 of file MapPoint.h.

cv::Mat ORB_SLAM2::MapPoint::mPosGBA

Definition at line 108 of file MapPoint.h.

KeyFrame* ORB_SLAM2::MapPoint::mpRefKF
protected

Definition at line 129 of file MapPoint.h.

MapPoint* ORB_SLAM2::MapPoint::mpReplaced
protected

Definition at line 137 of file MapPoint.h.

float ORB_SLAM2::MapPoint::mTrackProjX

Definition at line 91 of file MapPoint.h.

float ORB_SLAM2::MapPoint::mTrackProjXR

Definition at line 93 of file MapPoint.h.

float ORB_SLAM2::MapPoint::mTrackProjY

Definition at line 92 of file MapPoint.h.

float ORB_SLAM2::MapPoint::mTrackViewCos

Definition at line 96 of file MapPoint.h.

cv::Mat ORB_SLAM2::MapPoint::mWorldPos
protected

Definition at line 117 of file MapPoint.h.

long unsigned int ORB_SLAM2::MapPoint::nNextId
static

Definition at line 85 of file MapPoint.h.

int ORB_SLAM2::MapPoint::nObs

Definition at line 88 of file MapPoint.h.


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


orb_slam2_with_maps_odom
Author(s): teng zhang
autogenerated on Fri Sep 25 2020 03:24:47