osgAnimation::AnimationManagerBase Class Reference

Inheritance diagram for osgAnimation::AnimationManagerBase:

osg::NodeCallback osg::Object osg::Referenced osgAnimation::BasicAnimationManager osgAnimation::TimelineAnimationManager

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)
void clearTargets ()
LinkVisitorgetOrCreateLinkVisitor ()
void setLinkVisitor (LinkVisitor *)
void setAutomaticLink (bool)
 set a flag to define the behaviour
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

osgAnimation::AnimationManagerBase::AnimationManagerBase (  ) 

osgAnimation::AnimationManagerBase::AnimationManagerBase ( const AnimationManagerBase b,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

virtual osgAnimation::AnimationManagerBase::~AnimationManagerBase (  )  [virtual]


Member Function Documentation

virtual void osgAnimation::AnimationManagerBase::buildTargetReference (  )  [virtual]

virtual void osgAnimation::AnimationManagerBase::registerAnimation ( Animation  )  [virtual]

virtual void osgAnimation::AnimationManagerBase::unregisterAnimation ( Animation  )  [virtual]

virtual void osgAnimation::AnimationManagerBase::link ( osg::Node subgraph  )  [virtual]

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

virtual bool osgAnimation::AnimationManagerBase::needToLink (  )  const [virtual]

const AnimationList& osgAnimation::AnimationManagerBase::getAnimationList (  )  const [inline]

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.

void osgAnimation::AnimationManagerBase::clearTargets (  ) 

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

LinkVisitor* osgAnimation::AnimationManagerBase::getOrCreateLinkVisitor (  ) 

void osgAnimation::AnimationManagerBase::setLinkVisitor ( LinkVisitor  ) 

void osgAnimation::AnimationManagerBase::setAutomaticLink ( bool   ) 

set a flag to define the behaviour

bool osgAnimation::AnimationManagerBase::isAutomaticLink (  )  const

void osgAnimation::AnimationManagerBase::dirty (  ) 


Member Data Documentation


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

Generated on Sat Mar 20 12:34:00 2010 for openscenegraph by  doxygen 1.5.6