OpenSceneGraph
3.4.0
|
Basic UpdateVisitor implementation for animating a scene. More...
Public Member Functions | |
UpdateVisitor () | |
virtual | ~UpdateVisitor () |
META_NodeVisitor (osgUtil, UpdateVisitor) virtual void reset() | |
virtual void | apply (osg::Node &node) |
During traversal each type of node calls its callbacks and its children traversed. | |
virtual void | apply (osg::Drawable &drawable) |
virtual void | apply (osg::Geode &node) |
virtual void | apply (osg::Billboard &node) |
virtual void | apply (osg::LightSource &node) |
virtual void | apply (osg::Group &node) |
virtual void | apply (osg::Transform &node) |
virtual void | apply (osg::Projection &node) |
virtual void | apply (osg::Switch &node) |
virtual void | apply (osg::LOD &node) |
virtual void | apply (osg::OccluderNode &node) |
Protected Member Functions | |
UpdateVisitor & | operator= (const UpdateVisitor &) |
Prevent unwanted copy construction. | |
void | handle_callbacks (osg::StateSet *stateset) |
void | handle_callbacks_and_traverse (osg::Node &node) |
Basic UpdateVisitor implementation for animating a scene.
This visitor traverses the scene graph, calling each nodes appCallback if it exists.
virtual osgUtil::UpdateVisitor::~UpdateVisitor | ( | ) | [virtual] |
virtual void osgUtil::UpdateVisitor::apply | ( | osg::Node & | node | ) | [inline, virtual] |
During traversal each type of node calls its callbacks and its children traversed.
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::Drawable & | drawable | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
References osg::Node::getStateSet(), osg::Node::getUpdateCallback(), osg::CallbackObject::run(), and osg::Drawable::UpdateCallback::update().
virtual void osgUtil::UpdateVisitor::apply | ( | osg::Geode & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::Billboard & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::LightSource & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::Group & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::Transform & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::Projection & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::Switch & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::LOD & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::UpdateVisitor::apply | ( | osg::OccluderNode & | node | ) | [inline, virtual] |
Reimplemented from osg::NodeVisitor.
void osgUtil::UpdateVisitor::handle_callbacks | ( | osg::StateSet * | stateset | ) | [inline, protected] |
void osgUtil::UpdateVisitor::handle_callbacks_and_traverse | ( | osg::Node & | node | ) | [inline, protected] |
osgUtil::UpdateVisitor::META_NodeVisitor | ( | osgUtil | , |
UpdateVisitor | |||
) |
UpdateVisitor& osgUtil::UpdateVisitor::operator= | ( | const UpdateVisitor & | ) | [inline, protected] |
Prevent unwanted copy construction.
Prevent unwanted copy operator.
![]() | Generated at Tue Dec 8 2015 00:14:31 for the OpenSceneGraph by doxygen 1.7.6.1. |