14#ifndef OSG_COMPUTEBOUNDSVISITOR
15#define OSG_COMPUTEBOUNDSVISITOR 1
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
BoundingBoxd BoundingBox
Definition BoundingBox:257
Matrixd Matrix
Definition Matrix:27
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)
Pure virtual base class for drawable geometry.
Definition Drawable:89
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
TraversalMode
Definition NodeVisitor:86
@ TRAVERSE_ALL_CHILDREN
Definition NodeVisitor:89
virtual void reset()
Method to call to reset visitor.
Definition NodeVisitor:167
A Polytope class for representing convex clipping volumes made up of a set of planes.
Definition Polytope:26
A Transform is a group node for which all children are transformed by a 4x4 matrix.
Definition Transform:75
#define OSG_EXPORT
Definition Export:39