OpenSceneGraph  3.0.1
Public Member Functions | Protected Member Functions | Protected Attributes
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:
Inheritance graph
[legend]

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


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.

unsigned int osgAnimation::LinkVisitor::getNbLinkedTarget ( ) const [inline]
osgAnimation::LinkVisitor::META_NodeVisitor ( "osgAnimation"  ,
"LinkVisitor"   
)

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 Thu Sep 27 2012 12:20:26 for the OpenSceneGraph by doxygen 1.7.6.1.