00001 #ifndef X3DTK_MESH_PRIMITIVEMESHBUILDER_H 00002 #define X3DTK_MESH_PRIMITIVEMESHBUILDER_H 00003 00004 #include "X3DOnePassProcessor.h" 00005 #include "MESH_SceneGraphTypes.h" 00006 #include "MESH_Mesh.h" 00007 #include "MESH_Scene.h" 00008 #include "MESH_MeshData.h" 00009 00010 namespace X3DTK { 00011 namespace MESH { 00012 00021 class PrimitiveMeshBuilder : public X3DOnePassProcessor 00022 { 00023 public: 00025 PrimitiveMeshBuilder(); 00027 virtual ~PrimitiveMeshBuilder(); 00028 00030 void build(Scene *S, float step = 0.0f, bool boundingBox = false); 00032 void build(X3DNode *N, float step = 0.0f, bool boundingBox = false); 00033 }; 00034 00035 } 00036 } 00037 00038 #endif