Skip to content

Commit 327897d

Browse files
authored
Add files via upload
1 parent f576da3 commit 327897d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/orb_slam/include/System.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,13 @@ class System
129129

130130
// Information from most recent processed frame
131131
// You can call this right after TrackMonocular (or stereo or RGBD)
132-
void GetKeyFramePoses(std::vector<cv::Mat> &vKFTwc, std::vector<std::size_t> &vKFFrameId);
132+
void GetKeyFramePoses(std::vector<cv::Mat> &vKFTwc, std::vector<std::size_t> &vKFFrameId) const;
133+
cv::Mat GetKeyFramePose(const std::size_t &KFId) const;
134+
cv::Mat GetKeyFrameInvPose(const std::size_t &KFId) const;
133135
int GetTrackingState();
134136
std::vector<MapPoint*> GetTrackedMapPoints();
135137
std::vector<cv::KeyPoint> GetTrackedKeyPointsUn();
138+
std::vector<MapPoint*> GetAllMapPoints(bool only_good=true);
136139
std::size_t GetLastLoopKFid();
137140
std::size_t GetCurrentFid();
138141

0 commit comments

Comments
 (0)