00001 00002 // BBoxUpdaterShapeVisitor.h // 00004 00005 #ifndef BBOXUPDATERSHAPEVISITOR_H 00006 #define BBOXUPDATERSHAPEVISITOR_H 00007 00008 #include "ShapeVisitor.h" 00009 #include "BBoxUpdaterGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 namespace X3D { 00013 00014 class X3DShapeNode; 00015 class Shape; 00016 00018 00019 class BBoxUpdaterShapeVisitor : public ShapeVisitor 00020 { 00021 public: 00023 BBoxUpdaterShapeVisitor(); 00025 virtual ~BBoxUpdaterShapeVisitor(); 00026 00027 00029 virtual bool walkOnX3DShapeNode(X3DShapeNode *N, SFAbstractNode Child) const; 00030 00032 virtual void leaveShape(Shape *S) const; 00033 00034 protected: 00035 BBoxUpdaterGlobalVariables *globalVariables; 00036 }; 00037 00038 } 00039 } 00040 00041 #endif