FrameDrawer.h
Go to the documentation of this file.
1 
21 #ifndef FRAMEDRAWER_H
22 #define FRAMEDRAWER_H
23 
24 #include "Tracking.h"
25 #include "MapPoint.h"
26 #include "Map.h"
27 
28 #include<opencv2/core/core.hpp>
29 #include<opencv2/features2d/features2d.hpp>
30 
31 #include<mutex>
32 
33 
34 namespace ORB_SLAM2
35 {
36 
37 class Tracking;
38 
40 {
41 public:
42  FrameDrawer(Map* pMap);
43 
44  // Update info from the last processed frame.
45  void Update(Tracking *pTracker);
46 
47  // Draw last processed frame.
48  cv::Mat DrawFrame();
49 
50 protected:
51 
52  void DrawTextInfo(cv::Mat &im, int nState, cv::Mat &imText);
53 
54  // Info of the frame to be drawn
55  cv::Mat mIm;
56  int N;
57  vector<cv::KeyPoint> mvCurrentKeys;
58  vector<bool> mvbMap, mvbVO;
61  vector<cv::KeyPoint> mvIniKeys;
62  vector<int> mvIniMatches;
63  int mState;
64 
66 
67  std::mutex mMutex;
68 };
69 
70 } //namespace ORB_SLAM
71 
72 #endif // FRAMEDRAWER_H
vector< cv::KeyPoint > mvIniKeys
Definition: FrameDrawer.h:61
vector< bool > mvbMap
Definition: FrameDrawer.h:58
vector< cv::KeyPoint > mvCurrentKeys
Definition: FrameDrawer.h:57
vector< int > mvIniMatches
Definition: FrameDrawer.h:62
vector< bool > mvbVO
Definition: FrameDrawer.h:58
void Update(Tracking *pTracker)
Definition: FrameDrawer.cc:167
void DrawTextInfo(cv::Mat &im, int nState, cv::Mat &imText)
Definition: FrameDrawer.cc:129


orb_slam2_ros
Author(s):
autogenerated on Wed Apr 21 2021 02:53:05