14 #ifndef OSG_COMPUTEBOUNDSVISITOR
15 #define OSG_COMPUTEBOUNDSVISITOR 1
17 #include <osg/NodeVisitor>
18 #include <osg/BoundingBox>
19 #include <osg/Polytope>
35 void getPolytope(
osg::Polytope& polytope,
float margin=0.1)
const;
37 void getBase(
osg::Polytope& polytope,
float margin=0.1)
const;
45 inline void popMatrix() { _matrixStack.pop_back(); }
osg::BoundingBox & getBoundingBox()
#define META_NodeVisitor(library, name)
const MatrixStack & getMatrixStack() const
std::vector< osg::Matrix > MatrixStack
void pushMatrix(osg::Matrix &matrix)