00001 00002 00003 00005 00006 00011 00016 00021 // BboxUpdaterGeometry3DVisitor.h // 00023 00024 #ifndef BBOXUPDATERGEOMETRY3DVISITOR_H 00025 #define BBOXUPDATERGEOMETRY3DVISITOR_H 00026 00027 #include "Geometry3DVisitor.h" 00028 #include "BboxUpdaterGlobalVariables.h" 00029 00030 namespace X3DTK { 00031 namespace X3D { 00032 00033 class Box; 00034 class Cone; 00035 class Cylinder; 00036 class Sphere; 00037 00039 00040 class BboxUpdaterGeometry3DVisitor : public Geometry3DVisitor 00041 { 00042 public: 00044 BboxUpdaterGeometry3DVisitor(); 00046 virtual ~BboxUpdaterGeometry3DVisitor(); 00047 00049 virtual void enterBox(Box *B) const; 00051 virtual void enterCone(Cone *C) const; 00053 virtual void enterCylinder(Cylinder *C) const; 00055 virtual void enterSphere(Sphere *S) const; 00056 00057 00058 00059 protected: 00060 BboxUpdaterGlobalVariables *globalVariables; 00061 }; 00062 00063 } 00064 } 00065 00066 #endif