OpenSceneGraph 2.8.3

osgAnimation::LinkVisitor Class Reference

This class is instancied by the AnimationManagerBase, it will link animation target to updatecallback that have the same name. More...

Inheritance diagram for osgAnimation::LinkVisitor:

List of all members.

Public Member Functions

 LinkVisitor ()
 META_NodeVisitor ("osgAnimation","LinkVisitor")
void apply (osg::Node &node)
void apply (osg::Geode &node)
AnimationListgetAnimationList ()
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

Detailed Description

This class is instancied by the AnimationManagerBase, it will link animation target to updatecallback that have the same name.


Constructor & Destructor Documentation

osgAnimation::LinkVisitor::LinkVisitor ( )

Member Function Documentation

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 ( )
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.


Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:24 for the OpenSceneGraph by doxygen 1.7.3.