21 #ifndef LOCALMAPPING_H 22 #define LOCALMAPPING_H 26 #include "LoopClosing.h" 28 #include "KeyFrameDatabase.h" 61 bool AcceptKeyFrames();
62 void SetAcceptKeyFrames(
bool flag);
63 bool SetNotStop(
bool flag);
70 int KeyframesInQueue(){
71 unique_lock<std::mutex> lock(mMutexNewKFs);
72 return mlNewKeyFrames.size();
77 bool CheckNewKeyFrames();
78 void ProcessNewKeyFrame();
79 void CreateNewMapPoints();
81 void MapPointCulling();
82 void SearchInNeighbors();
84 void KeyFrameCulling();
88 cv::Mat SkewSymmetricMatrix(
const cv::Mat &v);
92 void ResetIfRequested();
93 bool mbResetRequested;
94 std::mutex mMutexReset;
98 bool mbFinishRequested;
100 std::mutex mMutexFinish;
107 std::list<KeyFrame*> mlNewKeyFrames;
111 std::list<MapPoint*> mlpRecentAddedMapPoints;
113 std::mutex mMutexNewKFs;
118 bool mbStopRequested;
120 std::mutex mMutexStop;
122 bool mbAcceptKeyFrames;
123 std::mutex mMutexAccept;
128 #endif // LOCALMAPPING_H Definition: Tracking.h:53
Definition: KeyFrame.h:43
Definition: LoopClosing.h:44
Definition: Converter.cpp:24
Definition: LocalMapping.h:40