Public Member Functions | Protected Types | Protected Attributes

osg::ComputeBoundsVisitor Class Reference

Inheritance diagram for osg::ComputeBoundsVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ComputeBoundsVisitor (TraversalMode traversalMode=TRAVERSE_ALL_CHILDREN)
 META_NodeVisitor ("osg","ComputeBoundsVisitor") virtual void reset()
osg::BoundingBox & getBoundingBox ()
void getPolytope (osg::Polytope &polytope, float margin=0.1) const
void getBase (osg::Polytope &polytope, float margin=0.1) const
void apply (osg::Node &node)
void apply (osg::Transform &transform)
void apply (osg::Geode &geode)
void pushMatrix (osg::Matrix &matrix)
void popMatrix ()
void applyDrawable (osg::Drawable *drawable)

Protected Types

typedef std::vector< osg::Matrix > MatrixStack

Protected Attributes

MatrixStack _matrixStack
osg::BoundingBox _bb

Member Typedef Documentation

typedef std::vector<osg::Matrix> osg::ComputeBoundsVisitor::MatrixStack [protected]

Constructor & Destructor Documentation

osg::ComputeBoundsVisitor::ComputeBoundsVisitor ( TraversalMode  traversalMode = TRAVERSE_ALL_CHILDREN  ) 

Member Function Documentation

void osg::ComputeBoundsVisitor::apply ( osg::Node &  node  )  [virtual]

Reimplemented from osg::NodeVisitor.

void osg::ComputeBoundsVisitor::apply ( osg::Transform &  transform  )  [virtual]

Reimplemented from osg::NodeVisitor.

void osg::ComputeBoundsVisitor::apply ( osg::Geode &  geode  )  [virtual]

Reimplemented from osg::NodeVisitor.

void osg::ComputeBoundsVisitor::applyDrawable ( osg::Drawable *  drawable  ) 
void osg::ComputeBoundsVisitor::getBase ( osg::Polytope &  polytope,
float  margin = 0.1 
) const
osg::BoundingBox& osg::ComputeBoundsVisitor::getBoundingBox (  )  [inline]
void osg::ComputeBoundsVisitor::getPolytope ( osg::Polytope &  polytope,
float  margin = 0.1 
) const
osg::ComputeBoundsVisitor::META_NodeVisitor ( "osg"  ,
"ComputeBoundsVisitor"   
)
void osg::ComputeBoundsVisitor::popMatrix (  )  [inline]
void osg::ComputeBoundsVisitor::pushMatrix ( osg::Matrix &  matrix  )  [inline]

Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Wed Nov 3 2010 02:40:15 for the OpenSceneGraph by doxygen 1.7.1.