14#ifndef OSG_COMPUTEBOUNDSVISITOR
15#define OSG_COMPUTEBOUNDSVISITOR 1
45 inline void popMatrix() { _matrixStack.pop_back(); }
Definition BoundingBox:34
Definition ComputeBoundsVisitor:24
void getBase(osg::Polytope &polytope, float margin=0.1) const
void popMatrix()
Definition ComputeBoundsVisitor:45
void getPolytope(osg::Polytope &polytope, float margin=0.1) const
META_NodeVisitor(osg, ComputeBoundsVisitor) virtual void reset()
std::vector< osg::Matrix > MatrixStack
Definition ComputeBoundsVisitor:50
osg::BoundingBox & getBoundingBox()
Definition ComputeBoundsVisitor:33
osg::BoundingBox _bb
Definition ComputeBoundsVisitor:56
void pushMatrix(osg::Matrix &matrix)
Definition ComputeBoundsVisitor:43
MatrixStack _matrixStack
Definition ComputeBoundsVisitor:55
void apply(osg::Transform &transform)
void applyBoundingBox(const osg::BoundingBox &)
ComputeBoundsVisitor(TraversalMode traversalMode=TRAVERSE_ALL_CHILDREN)
const MatrixStack & getMatrixStack() const
Definition ComputeBoundsVisitor:52
void apply(osg::Drawable &drawable)
Definition NodeVisitor:82
TraversalMode
Definition NodeVisitor:86
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
#define OSG_EXPORT
Definition osg/Export:39