00001 00002 00003 00005 00006 00011 00016 00021 // GLBuilderGeometry3DVisitor.h // 00023 00024 #ifndef GLBUILDERGEOMETRY3DVISITOR_H 00025 #define GLBUILDERGEOMETRY3DVISITOR_H 00026 00027 #include "Geometry3DVisitor.h" 00028 #include "GLBuilderGlobalVariables.h" 00029 00030 namespace X3DTK { 00031 namespace X3D { 00032 00033 class Box; 00034 class Cone; 00035 class Cylinder; 00036 class IndexedFaceSet; 00037 class Sphere; 00038 00040 00041 class GLBuilderGeometry3DVisitor : public Geometry3DVisitor 00042 { 00043 public: 00045 GLBuilderGeometry3DVisitor(); 00047 virtual ~GLBuilderGeometry3DVisitor(); 00048 00050 virtual void enterBox(Box *B) const; 00052 virtual void enterCone(Cone *C) const; 00054 virtual void enterCylinder(Cylinder *C) const; 00056 virtual void enterIndexedFaceSet(IndexedFaceSet *I) const; 00058 virtual void enterSphere(Sphere *S) const; 00059 00060 00061 protected: 00062 GLBuilderGlobalVariables *globalVariables; 00063 }; 00064 00065 } 00066 } 00067 00068 #endif