X3D_MeshBuilder.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_MESHBUILDER_H
00002 #define X3DTK_X3D_MESHBUILDER_H
00003 
00004 #include "X3DOnePassProcessor.h"
00005 #include "X3D_MeshBuilderStateVariables.h"
00006 #include "DFSGraphTraversal.h"
00007 #include "X3D_MeshBuilderCoreVisitor.h"
00008 #include "X3D_MeshBuilderGeometry3DVisitor.h"
00009 #include "X3D_MeshBuilderGroupingVisitor.h"
00010 #include "X3D_MeshBuilderShapeVisitor.h"
00011 #include "X3D_MeshBuilderRenderingVisitor.h"
00012 #include "X3D_Scene.h"
00013 #include "MESH_Scene.h"
00014 #include "MESH_MeshData.h"
00015 
00016 namespace X3DTK {
00017 namespace X3D {
00018 
00030 template<class MData, class VData, class EData, class FData, bool RW>
00031 class TemplateMeshBuilder : public X3DOnePassProcessor
00032 {     
00033 public:
00035   TemplateMeshBuilder();
00037   virtual ~TemplateMeshBuilder();
00038     
00040   virtual MESH::X3DNode *build(X3DNode *N);
00041   
00043   MESH::Scene *build(Scene *S);
00044 };
00045 
00047 typedef TemplateMeshBuilder<MESH::MeshData, MESH::VertexData, MESH::EdgeData, MESH::FaceData, true> MeshBuilder;
00048 
00049 }
00050 }
00051 
00052 #include "X3D_MeshBuilder.inl"
00053 
00054 #endif

Generated on Fri Jul 30 12:02:29 2004 for X3DToolKit by doxygen 1.3.6