00001 00002 // GLCreatorGeometry3DVisitor.h // 00004 00005 #ifndef GLCREATORGEOMETRY3DVISITOR_H 00006 #define GLCREATORGEOMETRY3DVISITOR_H 00007 00008 #include "Geometry3DVisitor.h" 00009 #include "GLCreatorGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 00013 class Box; 00014 class Cone; 00015 class Cylinder; 00016 class IndexedFaceSet; 00017 class Sphere; 00018 00020 00021 class GLCreatorGeometry3DVisitor : public Geometry3DVisitor 00022 { 00023 public: 00025 GLCreatorGeometry3DVisitor(); 00027 virtual ~GLCreatorGeometry3DVisitor(); 00028 00030 virtual void enterBox(Box *B) const; 00032 virtual void enterCone(Cone *C) const; 00034 virtual void enterCylinder(Cylinder *C) const; 00036 virtual void enterIndexedFaceSet(IndexedFaceSet *I) const; 00038 virtual void enterSphere(Sphere *S) const; 00039 00040 00041 protected: 00042 GLCreatorGlobalVariables *globalVariables; 00043 }; 00044 00045 } 00046 00047 #endif