00001 00002 // BboxUpdaterRenderingVisitor.h // 00004 00005 #ifndef BBOXUPDATERRENDERINGVISITOR_H 00006 #define BBOXUPDATERRENDERINGVISITOR_H 00007 00008 #include "RenderingVisitor.h" 00009 #include "BboxUpdaterGlobalVariables.h" 00010 00011 namespace X3DTK { 00012 namespace X3D { 00013 00014 class Coordinate; 00015 class X3DGeometryNode; 00016 00018 00019 class BboxUpdaterRenderingVisitor : public RenderingVisitor 00020 { 00021 public: 00023 BboxUpdaterRenderingVisitor(); 00025 virtual ~BboxUpdaterRenderingVisitor(); 00026 00028 virtual void enterCoordinate(Coordinate *C) const; 00029 00031 virtual bool walkOnX3DGeometryNode(X3DGeometryNode *N, SFAbstractNode Child) const; 00032 00033 00034 protected: 00035 BboxUpdaterGlobalVariables *globalVariables; 00036 }; 00037 00038 } 00039 } 00040 00041 #endif