00001 00002 // GLBuilderGeometry3DVisitor.h // 00004 00005 #ifndef GLBUILDERGEOMETRY3DVISITOR_H 00006 #define GLBUILDERGEOMETRY3DVISITOR_H 00007 00008 #include "Geometry3DVisitor.h" 00009 #include "GLBuilderGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 namespace X3D { 00013 00014 class Box; 00015 class Cone; 00016 class Cylinder; 00017 class IndexedFaceSet; 00018 class Sphere; 00019 00021 00022 class GLBuilderGeometry3DVisitor : public Geometry3DVisitor 00023 { 00024 public: 00026 GLBuilderGeometry3DVisitor(); 00028 virtual ~GLBuilderGeometry3DVisitor(); 00029 00031 virtual void enterBox(Box *B) const; 00033 virtual void enterCone(Cone *C) const; 00035 virtual void enterCylinder(Cylinder *C) const; 00037 virtual void enterIndexedFaceSet(IndexedFaceSet *I) const; 00039 virtual void enterSphere(Sphere *S) const; 00040 00041 00042 protected: 00043 GLBuilderGlobalVariables *globalVariables; 00044 }; 00045 00046 } 00047 } 00048 00049 #endif