OpenSceneGraph
3.0.1
|
This class is instancied by the AnimationManagerBase, it will link animation target to updatecallback that have the same name. More...
Public Member Functions | |
LinkVisitor () | |
META_NodeVisitor ("osgAnimation","LinkVisitor") | |
void | apply (osg::Node &node) |
void | apply (osg::Geode &node) |
AnimationList & | getAnimationList () |
void | reset () |
Method to call to reset visitor. | |
unsigned int | getNbLinkedTarget () const |
Protected Member Functions | |
void | handle_stateset (osg::StateSet *stateset) |
void | link (osgAnimation::AnimationUpdateCallbackBase *cb) |
Protected Attributes | |
AnimationList | _animations |
unsigned int | _nbLinkedTarget |
This class is instancied by the AnimationManagerBase, it will link animation target to updatecallback that have the same name.
void osgAnimation::LinkVisitor::apply | ( | osg::Node & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
void osgAnimation::LinkVisitor::apply | ( | osg::Geode & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
unsigned int osgAnimation::LinkVisitor::getNbLinkedTarget | ( | ) | const [inline] |
void osgAnimation::LinkVisitor::handle_stateset | ( | osg::StateSet * | stateset | ) | [protected] |
void osgAnimation::LinkVisitor::link | ( | osgAnimation::AnimationUpdateCallbackBase * | cb | ) | [protected] |
osgAnimation::LinkVisitor::META_NodeVisitor | ( | "osgAnimation" | , |
"LinkVisitor" | |||
) |
void osgAnimation::LinkVisitor::reset | ( | ) | [virtual] |
Method to call to reset visitor.
Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal.
Reimplemented from osg::NodeVisitor.
AnimationList osgAnimation::LinkVisitor::_animations [protected] |
unsigned int osgAnimation::LinkVisitor::_nbLinkedTarget [protected] |
![]() | Generated at Fri Apr 27 2012 20:51:40 for the OpenSceneGraph by doxygen 1.8.0. |