00001 00002 // GL::RendererShapeVisitor.h // 00004 00005 #ifndef GLRENDERERSHAPEVISITOR_H 00006 #define GLRENDERERSHAPEVISITOR_H 00007 00008 #include "GL_ShapeVisitor.h" 00009 #include "GL_RendererStateVariables.h" 00010 00011 namespace X3DTK { 00012 namespace GL { 00013 00014 class Material; 00015 00017 00018 class RendererShapeVisitor : public ShapeVisitor 00019 { 00020 public: 00022 RendererShapeVisitor(); 00024 virtual ~RendererShapeVisitor(); 00025 00027 virtual void enterMaterial(Material *M) const; 00028 00029 protected: 00030 RendererStateVariables *stateVariables; 00031 }; 00032 00033 } 00034 } 00035 00036 #endif