MCPcopy Create free account
hub / github.com/UZ-SLAMLab/ORB_SLAM3 / KeyFrame

Method KeyFrame

src/KeyFrame.cc:29–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27long unsigned int KeyFrame::nNextId=0;
28
29KeyFrame::KeyFrame():
30 mnFrameId(0), mTimeStamp(0), mnGridCols(FRAME_GRID_COLS), mnGridRows(FRAME_GRID_ROWS),
31 mfGridElementWidthInv(0), mfGridElementHeightInv(0),
32 mnTrackReferenceForFrame(0), mnFuseTargetForKF(0), mnBALocalForKF(0), mnBAFixedForKF(0), mnBALocalForMerge(0),
33 mnLoopQuery(0), mnLoopWords(0), mnRelocQuery(0), mnRelocWords(0), mnMergeQuery(0), mnMergeWords(0), mnBAGlobalForKF(0),
34 fx(0), fy(0), cx(0), cy(0), invfx(0), invfy(0), mnPlaceRecognitionQuery(0), mnPlaceRecognitionWords(0), mPlaceRecognitionScore(0),
35 mbf(0), mb(0), mThDepth(0), N(0), mvKeys(static_cast<vector<cv::KeyPoint> >(NULL)), mvKeysUn(static_cast<vector<cv::KeyPoint> >(NULL)),
36 mvuRight(static_cast<vector<float> >(NULL)), mvDepth(static_cast<vector<float> >(NULL)), mnScaleLevels(0), mfScaleFactor(0),
37 mfLogScaleFactor(0), mvScaleFactors(0), mvLevelSigma2(0), mvInvLevelSigma2(0), mnMinX(0), mnMinY(0), mnMaxX(0),
38 mnMaxY(0), mPrevKF(static_cast<KeyFrame*>(NULL)), mNextKF(static_cast<KeyFrame*>(NULL)), mbFirstConnection(true), mpParent(NULL), mbNotErase(false),
39 mbToBeErased(false), mbBad(false), mHalfBaseline(0), mbCurrentPlaceRecognition(false), mnMergeCorrectedForKF(0),
40 NLeft(0),NRight(0), mnNumberOfOpt(0), mbHasVelocity(false)
41{
42
43}
44
45KeyFrame::KeyFrame(Frame &F, Map *pMap, KeyFrameDatabase *pKFDB):
46 bImu(pMap->isImuInitialized()), mnFrameId(F.mnId), mTimeStamp(F.mTimeStamp), mnGridCols(FRAME_GRID_COLS), mnGridRows(FRAME_GRID_ROWS),

Callers

nothing calls this directly

Calls 9

HasVelocityMethod · 0.80
isImuInitializedMethod · 0.45
cloneMethod · 0.45
GetRelativePoseTlrMethod · 0.45
GetRelativePoseTrlMethod · 0.45
resizeMethod · 0.45
GetVelocityMethod · 0.45
GetPoseMethod · 0.45
GetIdMethod · 0.45

Tested by

no test coverage detected