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