Go to the documentation of this file.00001
00002 #ifndef PLY_STRUCTURE
00003 #define PLY_STRUCTURE
00004
00005 namespace Tracking{
00006
00007 struct PlyVertex {
00008 float x,y,z;
00009 float nx, ny, nz;
00010 float s, t;
00011 unsigned char r, g, b;
00012 };
00013
00014 struct PlyFace {
00015 unsigned short nverts;
00016 unsigned int* v;
00017 float t[3], b[3], n[3];
00018 };
00019
00020 struct PlyEdge {
00021 unsigned short start;
00022 unsigned short end;
00023 };
00024
00025 struct PlyPass {
00026 unsigned short nfaces;
00027 unsigned int* f;
00028 float m0,m1,m2,m3;
00029 float m4,m5,m6,m7;
00030 float m8,m9,m10,m11;
00031 float m12,m13,m14,m15;
00032 float x,y,w,h;
00033 unsigned short tex;
00034 };
00035
00036 }
00037
00038 #endif