25 #ifndef WGEZOOMTRACKBALLNODEVISITOR_H
26 #define WGEZOOMTRACKBALLNODEVISITOR_H
31 #include <osg/BoundingBox>
32 #include <osg/NodeVisitor>
55 void apply( osg::Camera& node );
61 void apply( osg::Projection& node );
67 void apply( osg::Drawable& node );
73 void apply( osg::MatrixTransform& node );
A visitor that ignores specific nodes that are irrelevant for the trackball.
std::vector< osg::Matrix > m_matrixStack
The stack for the matrices.
virtual void reset()
Resets this visitor.
osg::BoundingBox & getBoundingBox()
Gets the bounding box.
void apply(osg::Camera &node)
Handles camera nodes.
osg::BoundingBox m_bb
The bounding box that is generated.
WGEZoomTrackballNodeVisitor(TraversalMode traversalMode=TRAVERSE_ACTIVE_CHILDREN)
Creates a new node visitor.