Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 #ifndef __MAP_H
00016 #define __MAP_H
00017 #include <vector>
00018 #include <TooN/se3.h>
00019 #include <cvd/image.h>
00020 #include <boost/shared_ptr.hpp>
00021 
00022 struct MapPoint;
00023 struct KeyFrame;
00024 
00025 struct Map
00026 {
00027   Map();
00028   inline bool IsGood() {return bGood;}
00029   void Reset();
00030 
00031   void MoveBadPointsToTrash();
00032   void EmptyTrash();
00033 
00034   std::vector<boost::shared_ptr<MapPoint> > vpPoints;
00035   std::vector<boost::shared_ptr<MapPoint> > vpPointsTrash;
00036   std::vector<boost::shared_ptr<KeyFrame> > vpKeyFrames;
00037 
00038   bool bGood;
00039 };
00040 
00041 
00042 
00043 
00044 #endif
00045