Public Member Functions | Protected Member Functions | Protected Attributes

osgAnimation::LinkVisitor Class Reference

Inheritance diagram for osgAnimation::LinkVisitor:
osg::NodeVisitor osg::Referenced

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