PLYFile.h
Go to the documentation of this file.
00001 
00024 #ifndef __PLY_FILE__
00025 #define __PLY_FILE__
00026 
00027 #include <string>
00028 #include <vector>
00029 
00030 namespace DVision {
00031 namespace PMVS {
00032 
00033 class PLYFile
00034 {
00035 public:
00036   struct PLYPoint
00037   {
00038     double x, y, z;
00039     double nx, ny, nz;
00040     int r, g, b;  
00041   };
00042   
00043 public:
00044   
00050   static void readFile(const std::string &filename, std::vector<PLYPoint>& points);
00051   
00057   static void saveFile(const std::string &filename, const std::vector<PLYPoint>& points);
00058   
00064   static int getNumberOfPoints(const std::string &filename);
00065   
00066 };
00067 
00068 }
00069 }
00070 
00071 #endif


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:32:08