00001 #ifndef X3DTK_X3D_MESHBUILDERCOREVISITOR_H 00002 #define X3DTK_X3D_MESHBUILDERCOREVISITOR_H 00003 00004 #include "X3D_CoreVisitor.h" 00005 #include "X3D_MeshBuilderStateVariables.h" 00006 #include "X3D_Scene.h" 00007 #include "MESH_Scene.h" 00008 00009 namespace X3DTK { 00010 namespace X3D { 00011 00012 class Scene; 00013 class X3DNode; 00014 00021 template<class MData, class VData, class EData, class FData, bool RW> 00022 class TemplateMeshBuilderCoreVisitor : public CoreVisitor 00023 { 00024 public: 00026 TemplateMeshBuilderCoreVisitor(); 00027 00029 static void enterScene(Scene *S); 00031 static void enterX3DNode(X3DNode *N); 00032 00034 static bool walkOnX3DNode(X3DNode *N, SFNode child); 00035 00037 static void leaveX3DNode(X3DNode *N); 00038 }; 00039 00040 } 00041 } 00042 00043 #include "X3D_MeshBuilderCoreVisitor.inl" 00044 00045 #endif