00001 #include <vector> 00002 00003 #include <vcg/simplex/vertex/base.h> 00004 #include <vcg/simplex/vertex/component.h> 00005 #include <vcg/simplex/face/base.h> 00006 #include <vcg/simplex/face/component.h> 00007 00008 #include <vcg/complex/trimesh/base.h> 00009 00010 class MyEdge; 00011 class MyFace; 00012 00013 class MyVertex: public vcg::VertexSimp2<MyVertex,MyEdge,MyFace, vcg::vert::Coord3d, vcg::vert::Normal3f>{}; 00014 class MyFace: public vcg::FaceSimp2<MyVertex,MyEdge,MyFace, vcg::face::VertexRef>{}; 00015 00016 class MyMesh: public vcg::tri::TriMesh< std::vector<MyVertex>, std::vector<MyFace> > {}; 00017 00018 int main() 00019 { 00020 MyMesh m; 00021 return 0; 00022 }