00001 00002 // GLCreatorRenderingVisitor.h // 00004 00005 #ifndef GLCREATORRENDERINGVISITOR_H 00006 #define GLCREATORRENDERINGVISITOR_H 00007 00008 #include "RenderingVisitor.h" 00009 #include "GLCreatorGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 00013 class IndexedLineSet; 00014 class PointSet; 00015 class TriangleFanSet; 00016 class TriangleSet; 00017 class TriangleStripSet; 00018 class X3DGeometryNode; 00019 00021 00022 class GLCreatorRenderingVisitor : public RenderingVisitor 00023 { 00024 public: 00026 GLCreatorRenderingVisitor(); 00028 virtual ~GLCreatorRenderingVisitor(); 00029 00031 virtual void enterIndexedLineSet(IndexedLineSet *I) const; 00033 virtual void enterPointSet(PointSet *P) const; 00035 virtual void enterTriangleFanSet(TriangleFanSet *T) const; 00037 virtual void enterTriangleSet(TriangleSet *T) const; 00039 virtual void enterTriangleStripSet(TriangleStripSet *T) const; 00040 00042 virtual bool walkOnX3DGeometryNode(X3DGeometryNode *N, SFNode child) const; 00043 00044 00045 00046 protected: 00047 GLCreatorGlobalVariables *globalVariables; 00048 }; 00049 00050 } 00051 00052 #endif