📄 map.h
字号:
// -*- c++ -*-// Copyright 2008 Isis Innovation Limited//// This header declares the Map class.// This is pretty light-weight: All it contains is// a vector of MapPoints and a vector of KeyFrames.//// N.b. since I don't do proper thread safety,// everything is stored as lists of pointers,// and map points are not erased if they are bad:// they are moved to the trash list. That way// old pointers which other threads are using are not // invalidated!#ifndef __MAP_H#define __MAP_H#include <vector>#include <TooN/se3.h>#include <cvd/image.h>struct MapPoint;struct KeyFrame;struct Map{ Map(); inline bool IsGood() {return bGood;} void Reset(); void MoveBadPointsToTrash(); void EmptyTrash(); std::vector<MapPoint*> vpPoints; std::vector<MapPoint*> vpPointsTrash; std::vector<KeyFrame*> vpKeyFrames; bool bGood;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -