SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
#include <WAIMap.h>
Public Types | |
enum | TransformType { ROT_X = 0 , ROT_Y , ROT_Z , TRANS_X , TRANS_Y , TRANS_Z , SCALE } |
Public Attributes | |
vector< WAIKeyFrame * > | mvpKeyFrameOrigins |
std::mutex | mMutexMapUpdate |
std::mutex | mMutexPointCreation |
Protected Attributes | |
std::set< WAIMapPoint * > | mspMapPoints |
std::set< WAIKeyFrame * > | mspKeyFrames |
std::vector< WAIKeyFrame * > | _deletedKeyFrames |
WAIKeyFrameDB * | mKfDB {nullptr} |
std::vector< WAIMapPoint * > | mvpReferenceMapPoints |
long unsigned int | mnMaxKFid |
int | mnBigChangeIdx |
std::mutex | mMutexMap |
std::mutex | _mutexLoopClosings |
int | _numberOfLoopClosings = 0 |
int | _numOfKeyframes |
WAIMap::WAIMap | ( | WAIKeyFrameDB * | kfDB | ) |
Definition at line 36 of file WAIMap.cpp.
WAIMap::~WAIMap | ( | ) |
Definition at line 42 of file WAIMap.cpp.
void WAIMap::AddKeyFrame | ( | WAIKeyFrame * | pKF | ) |
Definition at line 49 of file WAIMap.cpp.
void WAIMap::AddMapPoint | ( | WAIMapPoint * | pMP | ) |
Definition at line 58 of file WAIMap.cpp.
void WAIMap::applyTransformation | ( | double | value, |
TransformType | type | ||
) |
Definition at line 320 of file WAIMap.cpp.
Mat WAIMap::buildRotMat | ( | float & | valDeg, |
int | type | ||
) |
Definition at line 398 of file WAIMap.cpp.
Mat WAIMap::buildTransMat | ( | float & | val, |
int | type | ||
) |
void WAIMap::clear | ( | ) |
Definition at line 158 of file WAIMap.cpp.
void WAIMap::EraseKeyFrame | ( | WAIKeyFrame * | pKF | ) |
Definition at line 74 of file WAIMap.cpp.
void WAIMap::EraseMapPoint | ( | WAIMapPoint * | pMP | ) |
Definition at line 64 of file WAIMap.cpp.
std::vector< WAIKeyFrame * > WAIMap::GetAllKeyFrames | ( | ) |
Definition at line 104 of file WAIMap.cpp.
vector< WAIMapPoint * > WAIMap::GetAllMapPoints | ( | ) |
Definition at line 110 of file WAIMap.cpp.
|
inline |
int WAIMap::GetLastBigChangeIdx | ( | ) |
Definition at line 98 of file WAIMap.cpp.
long unsigned int WAIMap::GetMaxKFid | ( | ) |
Definition at line 128 of file WAIMap.cpp.
int WAIMap::getNumLoopClosings | ( | ) |
Definition at line 475 of file WAIMap.cpp.
float WAIMap::GetSize | ( | ) |
Definition at line 134 of file WAIMap.cpp.
size_t WAIMap::getSizeOf | ( | ) |
Definition at line 427 of file WAIMap.cpp.
void WAIMap::incNumLoopClosings | ( | ) |
Definition at line 463 of file WAIMap.cpp.
void WAIMap::InformNewBigChange | ( | ) |
Definition at line 92 of file WAIMap.cpp.
bool WAIMap::isKeyFrameInMap | ( | WAIKeyFrame * | pKF | ) |
Definition at line 457 of file WAIMap.cpp.
long unsigned int WAIMap::KeyFramesInMap | ( | ) |
Definition at line 116 of file WAIMap.cpp.
long unsigned int WAIMap::MapPointsInMap | ( | ) |
Definition at line 122 of file WAIMap.cpp.
void WAIMap::rotate | ( | float | degVal, |
int | type | ||
) |
Definition at line 242 of file WAIMap.cpp.
void WAIMap::scale | ( | float | value | ) |
Definition at line 295 of file WAIMap.cpp.
void WAIMap::setNumLoopClosings | ( | int | n | ) |
Definition at line 469 of file WAIMap.cpp.
void WAIMap::SetReferenceMapPoints | ( | const std::vector< WAIMapPoint * > & | vpMPs | ) |
Definition at line 86 of file WAIMap.cpp.
void WAIMap::transform | ( | cv::Mat | transform | ) |
Definition at line 192 of file WAIMap.cpp.
void WAIMap::translate | ( | float | value, |
int | type | ||
) |
Definition at line 271 of file WAIMap.cpp.
|
protected |
|
protected |
|
protected |
|
protected |
vector<WAIKeyFrame*> WAIMap::mvpKeyFrameOrigins |
|
protected |