00001
00002
00003
00004
00005
00006
00007 #ifndef MY_TYPES_HH
00008 #define MY_TYPES_HH
00009
00010
00011
00012
00013
00014 #include <IsoEx/Grids/LevelSetSurfaceT.hh>
00015 #include <OpenMesh/Core/Mesh/Types/TriMesh_ArrayKernelT.hh>
00016 #include <ACG/Scenegraph/MeshNodeT.hh>
00017 #include <ACG/Scenegraph/MaterialNode.hh>
00018 #include <ACG/Scenegraph/SeparatorNode.hh>
00019
00020
00021
00022
00023
00024 struct MyTraits : public OpenMesh::DefaultTraits
00025 {
00026 VertexAttributes(OpenMesh::Attributes::Normal);
00027 HalfedgeAttributes(OpenMesh::Attributes::PrevHalfedge);
00028 FaceAttributes(OpenMesh::Attributes::Normal);
00029 };
00030
00031 typedef OpenMesh::TriMesh_ArrayKernelT<MyTraits> MyMesh;
00032
00033 typedef IsoEx::LevelSetSurfaceT<float> LevelSetSurface;
00034
00035 typedef ACG::SceneGraph::MeshNodeT<MyMesh> MeshNode;
00036 typedef ACG::SceneGraph::MaterialNode MaterialNode;
00037 typedef ACG::SceneGraph::SeparatorNode SeparatorNode;
00038
00039
00040
00041 #endif // MY_TYPES_HH defined
00042