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

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]
void osgAnimation::AnimationManagerBase::clearTargets ( )

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

void osgAnimation::AnimationManagerBase::dirty ( )
const AnimationList& osgAnimation::AnimationManagerBase::getAnimationList ( ) const [inline]
bool osgAnimation::AnimationManagerBase::getAutomaticLink ( ) const
LinkVisitor* osgAnimation::AnimationManagerBase::getOrCreateLinkVisitor ( )
bool osgAnimation::AnimationManagerBase::isAutomaticLink ( ) const [inline]
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.

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

set a flag to define the behaviour

void osgAnimation::AnimationManagerBase::setLinkVisitor ( LinkVisitor )
virtual void osgAnimation::AnimationManagerBase::unregisterAnimation ( Animation ) [virtual]
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 Oct 3 2011 12:39:45 for the OpenSceneGraph by doxygen 1.7.5.