Public Member Functions | |
LinkVisitor () | |
META_NodeVisitor ("osgAnimation","LinkVisitor") | |
void | apply (osg::Node &node) |
void | apply (osg::Geode &node) |
AnimationList & | getAnimationList () |
void | reset () |
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 |
osgAnimation::LinkVisitor::LinkVisitor | ( | ) |
osgAnimation::LinkVisitor::META_NodeVisitor | ( | "osgAnimation" | , | |
"LinkVisitor" | ||||
) |
void osgAnimation::LinkVisitor::apply | ( | osg::Node & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
void osgAnimation::LinkVisitor::apply | ( | osg::Geode & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
AnimationList& osgAnimation::LinkVisitor::getAnimationList | ( | ) |
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.
unsigned int osgAnimation::LinkVisitor::getNbLinkedTarget | ( | ) | const [inline] |
void osgAnimation::LinkVisitor::handle_stateset | ( | osg::StateSet * | stateset | ) | [protected] |
void osgAnimation::LinkVisitor::link | ( | osgAnimation::AnimationUpdateCallbackBase * | cb | ) | [protected] |
AnimationList osgAnimation::LinkVisitor::_animations [protected] |
unsigned int osgAnimation::LinkVisitor::_nbLinkedTarget [protected] |