OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Protected Attributes
osgAnimation::AnimationManagerBase Class Reference
Inheritance diagram for osgAnimation::AnimationManagerBase:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::set< osg::ref_ptr
< Target > > 
TargetSet

Public Member Functions

 AnimationManagerBase ()
 AnimationManagerBase (const AnimationManagerBase &b, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
virtual ~AnimationManagerBase ()
virtual void buildTargetReference ()
virtual void registerAnimation (Animation *)
virtual void unregisterAnimation (Animation *)
virtual void link (osg::Node *subgraph)
virtual void update (double t)=0
virtual bool needToLink () const
const AnimationListgetAnimationList () const
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 Callback method called by the NodeVisitor when visiting a node.
void clearTargets ()
 Reset the value of targets this Operation must be done each frame.
LinkVisitorgetOrCreateLinkVisitor ()
void setLinkVisitor (LinkVisitor *)
void setAutomaticLink (bool)
 set a flag to define the behaviour
bool getAutomaticLink () const
bool isAutomaticLink () const
void dirty ()

Protected Attributes

osg::ref_ptr< LinkVisitor_linker
AnimationList _animations
TargetSet _targets
bool _needToLink
bool _automaticLink

Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Reset the value of targets this Operation must be done each frame.

virtual void osgAnimation::AnimationManagerBase::link ( osg::Node subgraph) [virtual]
virtual bool osgAnimation::AnimationManagerBase::needToLink ( ) const [virtual]
virtual void osgAnimation::AnimationManagerBase::operator() ( osg::Node node,
osg::NodeVisitor nv 
) [virtual]

Callback method called by the NodeVisitor when visiting a node.

Reimplemented from osg::NodeCallback.

set a flag to define the behaviour

virtual void osgAnimation::AnimationManagerBase::update ( double  t) [pure virtual]

Member Data Documentation


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

osg logo
Generated at Mon May 7 2012 07:18:32 for the OpenSceneGraph by doxygen 1.8.0.