00001 00002 // GLRendererGLShapeVisitor.h // 00004 00005 #ifndef GLRENDERERGLSHAPEVISITOR_H 00006 #define GLRENDERERGLSHAPEVISITOR_H 00007 00008 #include "GLShapeVisitor.h" 00009 #include "GLRendererGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 00013 class GLAppearance; 00014 class GLFillProperties; 00015 class GLLineProperties; 00016 class GLMaterial; 00017 class GLShape; 00018 00020 00021 class GLRendererGLShapeVisitor : public GLShapeVisitor 00022 { 00023 public: 00025 GLRendererGLShapeVisitor(); 00027 virtual ~GLRendererGLShapeVisitor(); 00028 00030 virtual void enterGLAppearance(GLAppearance *G) const; 00032 virtual void enterGLFillProperties(GLFillProperties *G) const; 00034 virtual void enterGLLineProperties(GLLineProperties *G) const; 00036 virtual void enterGLMaterial(GLMaterial *G) const; 00038 virtual void enterGLShape(GLShape *G) const; 00039 00040 00041 00042 protected: 00043 GLRendererGlobalVariables *globalVariables; 00044 }; 00045 00046 } 00047 00048 #endif