00001 #ifndef X3DTK_X3D_BBOXUPDATERRENDERINGVISITOR_H 00002 #define X3DTK_X3D_BBOXUPDATERRENDERINGVISITOR_H 00003 00004 #include "X3D_RenderingVisitor.h" 00005 #include "X3D_BBoxUpdaterStateVariables.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00010 class Coordinate; 00011 class X3DGeometryNode; 00012 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 BBoxUpdaterStateVariables *stateVariables; 00036 }; 00037 00038 } 00039 } 00040 00041 #endif