00001 #ifndef X3DTK_GL_RENDERERSHAPEVISITOR_H 00002 #define X3DTK_GL_RENDERERSHAPEVISITOR_H 00003 00004 #include "GL_ShapeVisitor.h" 00005 #include "GL_RendererStateVariables.h" 00006 00007 namespace X3DTK { 00008 namespace GL { 00009 00010 class Material; 00011 class X3DShapeNode; 00012 00019 class RendererShapeVisitor : public ShapeVisitor 00020 { 00021 public: 00023 RendererShapeVisitor(); 00025 virtual ~RendererShapeVisitor(); 00026 00028 virtual void enterMaterial(Material *M) const; 00030 virtual void enterX3DShapeNode(X3DShapeNode *N) const; 00031 00032 protected: 00033 RendererStateVariables *stateVariables; 00034 }; 00035 00036 } 00037 } 00038 00039 #endif