00001 00002 // BboxUpdaterGeometry3DVisitor.h // 00004 00005 #ifndef BBOXUPDATERGEOMETRY3DVISITOR_H 00006 #define BBOXUPDATERGEOMETRY3DVISITOR_H 00007 00008 #include "Geometry3DVisitor.h" 00009 #include "BboxUpdaterGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 00013 class Box; 00014 class Cone; 00015 class Cylinder; 00016 class Sphere; 00017 00019 00020 class BboxUpdaterGeometry3DVisitor : public Geometry3DVisitor 00021 { 00022 public: 00024 BboxUpdaterGeometry3DVisitor(); 00026 virtual ~BboxUpdaterGeometry3DVisitor(); 00027 00029 virtual void enterBox(Box *B) const; 00031 virtual void enterCone(Cone *C) const; 00033 virtual void enterCylinder(Cylinder *C) const; 00035 virtual void enterSphere(Sphere *S) const; 00036 00037 00038 00039 protected: 00040 BboxUpdaterGlobalVariables *globalVariables; 00041 }; 00042 00043 } 00044 00045 #endif