GSoC2011SfM  0.1
Google Summer of Code 2011: Structure from motion
D:/Travail/These/Determination caracteristiques camera/GSoC/SfM/src/Mesh.h
00001 
00002 #ifndef _GSOC_SFM_MESH_H
00003 #define _GSOC_SFM_MESH_H 1
00004 
00005 #include "macro.h" //SFM_EXPORTS
00006 
00007 #include <vector>
00008 #include "opencv2/core/core.hpp"
00009 
00010 namespace OpencvSfM{
00011   class SFM_EXPORTS TrackOfPoints;
00012   
00015   class SFM_EXPORTS Polygon
00016   {
00017   protected:
00018     std::vector< cv::Ptr< TrackOfPoints > > vertices;
00019 
00020   public:
00024     Polygon();
00025 
00030     void addPoint( const cv::Ptr< TrackOfPoints > point3D );
00031   };
00032 
00033   
00036   class SFM_EXPORTS Mesh
00037   {
00038   protected:
00039     std::vector< cv::Ptr< Polygon > > polygons;
00040 
00041   public:
00045     Mesh();
00046     
00051     void addPolygon( const cv::Ptr< Polygon > poly );
00052   };
00053 }
00054 
00055 #endif
 All Classes Functions Variables