00001 00002 // GLRendererGLGeometry3DVisitor.h // 00004 00005 #ifndef GLRENDERERGLGEOMETRY3DVISITOR_H 00006 #define GLRENDERERGLGEOMETRY3DVISITOR_H 00007 00008 #include "GLGeometry3DVisitor.h" 00009 #include "GLRendererGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 00013 class GLBox; 00014 class GLCone; 00015 class GLCylinder; 00016 class GLIndexedFaceSet; 00017 class GLSphere; 00018 00020 00021 class GLRendererGLGeometry3DVisitor : public GLGeometry3DVisitor 00022 { 00023 public: 00025 GLRendererGLGeometry3DVisitor(); 00027 virtual ~GLRendererGLGeometry3DVisitor(); 00028 00030 virtual void enterGLBox(GLBox *G) const; 00032 virtual void enterGLCone(GLCone *G) const; 00034 virtual void enterGLCylinder(GLCylinder *G) const; 00036 virtual void enterGLIndexedFaceSet(GLIndexedFaceSet *G) const; 00038 virtual void enterGLSphere(GLSphere *G) const; 00039 00040 00041 00042 protected: 00043 GLRendererGlobalVariables *globalVariables; 00044 }; 00045 00046 } 00047 00048 #endif