00001 #ifndef MESH_H 00002 #define MESH_H 00003 00005 #include <vcg/complex/complex.h> 00006 #include <vcg/complex/algorithms/update/bounding.h> 00007 #include <vcg/complex/algorithms/update/normal.h> 00008 #include <vcg/complex/algorithms/create/platonic.h> 00009 00010 #include <wrap/io_trimesh/import.h> 00011 00012 using namespace vcg; 00013 class CFaceO; 00014 class CVertexO; 00015 00016 struct MyUsedTypes : public UsedTypes< Use<CVertexO> ::AsVertexType, 00017 Use<CFaceO> ::AsFaceType>{}; 00018 00020 class CVertexO : public vcg::Vertex< MyUsedTypes, vcg::vertex::Coord3f, vcg::vertex::Normal3f, vcg::vertex::BitFlags>{}; 00021 class CFaceO : public vcg::Face< MyUsedTypes, vcg::face::VertexRef, vcg::face::Normal3f, vcg::face::BitFlags > {}; 00022 class CMeshO : public vcg::tri::TriMesh< std::vector<CVertexO>, std::vector<CFaceO> > 00023 { 00024 public: 00025 vcg::Box3f bbox; 00026 }; 00027 00028 #endif