00001 #ifndef ___DEFINITIONS 00002 #define ___DEFINITIONS 00003 00004 #include <vcg/simplex/vertex/with/afvmvn.h> 00005 #include <vcg/simplex/face/with/afavfn.h> 00006 #include <vcg/simplex/edge/with/ae.h> 00007 #include <vcg/complex/trimesh/base.h> 00008 #include <vcg/complex/trimesh/allocate.h> 00009 00010 typedef float ScalarType; 00011 00012 class Edge; 00013 class Face; 00014 class Vertex : public vcg::VertexAFVMVN< ScalarType, Edge, Face > {}; 00015 class Face : public vcg::FaceAFAVFN< Vertex, Edge, Face> {}; 00016 class Mesh : public vcg::tri::TriMesh< std::vector< Vertex>, std::vector< Face > > {}; 00017 00018 typedef vcg::tri::Allocator< Mesh > Allocator; 00019 typedef vcg::Box3< int > BoundingBox; 00020 typedef Vertex* VertexPointer; 00021 00022 #endif //___DEFINITIONS