| 28 | mutex MapPoint::mGlobalMutex; |
| 29 | |
| 30 | MapPoint::MapPoint(): |
| 31 | mnFirstKFid(0), mnFirstFrame(0), nObs(0), mnTrackReferenceForFrame(0), |
| 32 | mnLastFrameSeen(0), mnBALocalForKF(0), mnFuseCandidateForKF(0), mnLoopPointForKF(0), mnCorrectedByKF(0), |
| 33 | mnCorrectedReference(0), mnBAGlobalForKF(0), mnVisible(1), mnFound(1), mbBad(false), |
| 34 | mpReplaced(static_cast<MapPoint*>(NULL)) |
| 35 | { |
| 36 | mpReplaced = static_cast<MapPoint*>(NULL); |
| 37 | } |
| 38 | |
| 39 | MapPoint::MapPoint(const Eigen::Vector3f &Pos, KeyFrame *pRefKF, Map* pMap): |
| 40 | mnFirstKFid(pRefKF->mnId), mnFirstFrame(pRefKF->mnFrameId), nObs(0), mnTrackReferenceForFrame(0), |
nothing calls this directly
no test coverage detected