00001 #ifndef X3DTK_X3D_GLBUILDERRENDERINGVISITOR_H 00002 #define X3DTK_X3D_GLBUILDERRENDERINGVISITOR_H 00003 00004 #include "X3D_RenderingVisitor.h" 00005 #include "X3D_GLBuilderStateVariables.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00010 class X3DGeometryNode; 00011 class IndexedLineSet; 00012 class PointSet; 00013 class TriangleFanSet; 00014 class TriangleSet; 00015 class TriangleStripSet; 00016 00023 class GLBuilderRenderingVisitor : public RenderingVisitor 00024 { 00025 public: 00027 GLBuilderRenderingVisitor(); 00028 00030 static void enterIndexedLineSet(IndexedLineSet *I); 00032 static void enterPointSet(PointSet *P); 00034 static void enterTriangleFanSet(TriangleFanSet *T); 00036 static void enterTriangleSet(TriangleSet *T); 00038 static void enterTriangleStripSet(TriangleStripSet *T); 00039 00041 static bool walkOnX3DGeometryNode(X3DGeometryNode *N, SFNode child); 00042 }; 00043 00044 } 00045 } 00046 00047 #endif