28 #include<opencv2/core/core.hpp> 45 void SetWorldPos(
const cv::Mat &Pos);
46 cv::Mat GetWorldPos();
51 std::map<KeyFrame*,size_t> GetObservations();
54 void AddObservation(
KeyFrame* pKF,
size_t idx);
55 void EraseObservation(
KeyFrame* pKF);
57 int GetIndexInKeyFrame(
KeyFrame* pKF);
66 void IncreaseVisible(
int n=1);
67 void IncreaseFound(
int n=1);
68 float GetFoundRatio();
69 inline int GetFound(){
73 void ComputeDistinctiveDescriptors();
75 cv::Mat GetDescriptor();
77 void UpdateNormalAndDepth();
79 float GetMinDistanceInvariance();
80 float GetMaxDistanceInvariance();
81 int PredictScale(
const float ¤tDist,
KeyFrame*pKF);
82 int PredictScale(
const float ¤tDist,
Frame* pF);
85 long unsigned int mnId;
86 static long unsigned int nNextId;
88 long int mnFirstFrame;
96 int mnTrackScaleLevel;
98 long unsigned int mnTrackReferenceForFrame;
99 long unsigned int mnLastFrameSeen;
102 long unsigned int mnBALocalForKF;
103 long unsigned int mnFuseCandidateForKF;
106 long unsigned int mnLoopPointForKF;
107 long unsigned int mnCorrectedByKF;
108 long unsigned int mnCorrectedReference;
110 long unsigned int mnBAGlobalForKF;
113 static std::mutex mGlobalMutex;
121 std::map<KeyFrame*,size_t> mObservations;
124 cv::Mat mNormalVector;
146 std::mutex mMutexPos;
147 std::mutex mMutexFeatures;
Definition: KeyFrame.h:43
Definition: Converter.cpp:24
Definition: MapPoint.h:39