Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Friends | List of all members
ORB_SLAM2::Map Class Reference

#include <Map.h>

Public Member Functions

void AddKeyFrame (KeyFrame *pKF)
 
void AddMapPoint (MapPoint *pMP)
 
void clear ()
 
void EraseKeyFrame (KeyFrame *pKF)
 
void EraseMapPoint (MapPoint *pMP)
 
std::vector< KeyFrame * > GetAllKeyFrames ()
 
std::vector< MapPoint * > GetAllMapPoints ()
 
int GetLastBigChangeIdx ()
 
long unsigned int GetMaxKFid ()
 
std::vector< MapPoint * > GetReferenceMapPoints ()
 
void InformNewBigChange ()
 
long unsigned KeyFramesInMap ()
 
 Map ()
 
long unsigned int MapPointsInMap ()
 
void SetReferenceMapPoints (const std::vector< MapPoint * > &vpMPs)
 

Public Attributes

std::mutex mMutexMapUpdate
 
std::mutex mMutexPointCreation
 
vector< KeyFrame * > mvpKeyFrameOrigins
 

Protected Attributes

std::mutex mMutexMap
 
int mnBigChangeIdx
 
long unsigned int mnMaxKFid
 
std::set< KeyFrame * > mspKeyFrames
 
std::set< MapPoint * > mspMapPoints
 
std::vector< MapPoint * > mvpReferenceMapPoints
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 39 of file Map.h.

Constructor & Destructor Documentation

ORB_SLAM2::Map::Map ( )

Definition at line 28 of file Map.cc.

Member Function Documentation

void ORB_SLAM2::Map::AddKeyFrame ( KeyFrame pKF)

Definition at line 32 of file Map.cc.

void ORB_SLAM2::Map::AddMapPoint ( MapPoint pMP)

Definition at line 40 of file Map.cc.

void ORB_SLAM2::Map::clear ( )

Definition at line 118 of file Map.cc.

void ORB_SLAM2::Map::EraseKeyFrame ( KeyFrame pKF)

Definition at line 55 of file Map.cc.

void ORB_SLAM2::Map::EraseMapPoint ( MapPoint pMP)

Definition at line 46 of file Map.cc.

vector< KeyFrame * > ORB_SLAM2::Map::GetAllKeyFrames ( )

Definition at line 82 of file Map.cc.

vector< MapPoint * > ORB_SLAM2::Map::GetAllMapPoints ( )

Definition at line 88 of file Map.cc.

int ORB_SLAM2::Map::GetLastBigChangeIdx ( )

Definition at line 76 of file Map.cc.

long unsigned int ORB_SLAM2::Map::GetMaxKFid ( )

Definition at line 112 of file Map.cc.

vector< MapPoint * > ORB_SLAM2::Map::GetReferenceMapPoints ( )

Definition at line 106 of file Map.cc.

void ORB_SLAM2::Map::InformNewBigChange ( )

Definition at line 70 of file Map.cc.

long unsigned int ORB_SLAM2::Map::KeyFramesInMap ( )

Definition at line 100 of file Map.cc.

long unsigned int ORB_SLAM2::Map::MapPointsInMap ( )

Definition at line 94 of file Map.cc.

template<class Archive >
template void ORB_SLAM2::Map::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Definition at line 135 of file Map.cc.

void ORB_SLAM2::Map::SetReferenceMapPoints ( const std::vector< MapPoint * > &  vpMPs)

Definition at line 64 of file Map.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 86 of file Map.h.

Member Data Documentation

std::mutex ORB_SLAM2::Map::mMutexMap
protected

Definition at line 81 of file Map.h.

std::mutex ORB_SLAM2::Map::mMutexMapUpdate

Definition at line 65 of file Map.h.

std::mutex ORB_SLAM2::Map::mMutexPointCreation

Definition at line 68 of file Map.h.

int ORB_SLAM2::Map::mnBigChangeIdx
protected

Definition at line 79 of file Map.h.

long unsigned int ORB_SLAM2::Map::mnMaxKFid
protected

Definition at line 76 of file Map.h.

std::set<KeyFrame*> ORB_SLAM2::Map::mspKeyFrames
protected

Definition at line 72 of file Map.h.

std::set<MapPoint*> ORB_SLAM2::Map::mspMapPoints
protected

Definition at line 71 of file Map.h.

vector<KeyFrame*> ORB_SLAM2::Map::mvpKeyFrameOrigins

Definition at line 63 of file Map.h.

std::vector<MapPoint*> ORB_SLAM2::Map::mvpReferenceMapPoints
protected

Definition at line 74 of file Map.h.


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


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