VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
makVrv::DtAnimationManager Class Reference

DtAnimationManager manages the key frame animation in vantage. More...

Inheritance diagram for makVrv::DtAnimationManager:
Inheritance graph
[legend]

Public Member Functions

virtual bool isEnabled ()
 Return whether the animation manager is enabled. More...
 
virtual void setEnabled (bool enable)
 Sets whether the animation manager is enabled. More...
 
virtual void playAnimation (osgAnimation::Animation *pAnimation, int priority=0, float weight=1.0)
 play the animation More...
 
virtual void registerAnimation (osgAnimation::Animation *animation)
 register the animation More...
 
virtual void buildTargetReference ()
 build the animated target reference More...
 
virtual void setUpdateCallback (osg::Node *rootNode)
 Setup the update callback on the root node for the animation manager. More...
 
const osgAnimation::AnimationList & getAnimationList () const
 Return the animation list. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Static Public Member Functions

static DtAnimationManagerinstance (DtDe &de)
 Get an instance of the DtAnimationManager. More...
 

Protected Member Functions

 DtAnimationManager (DtDe &)
 CTOR. More...
 
virtual ~DtAnimationManager ()
 DTOR. More...
 
void connectSignals ()
 Connects all the signals. More...
 
virtual void shutdown ()
 Shut down the sound system, destroy the context and release all the sound resources. More...
 

Static Protected Member Functions

static void registerInstance (DtDe &de, DtAnimationManager *manager)
 
static const std::string & theClassName ()
 Get the name used to register this class. More...
 

Protected Attributes

osg::ref_ptr
< osgAnimation::BasicAnimationManager > 
myBasicAnimationManager
 
DtDemyDe
 
DtSignalConnectionManager myConnections
 
bool myIsEnabled
 

Detailed Description

DtAnimationManager manages the key frame animation in vantage.

Constructor & Destructor Documentation

makVrv::DtAnimationManager::DtAnimationManager ( DtDe )
protected

CTOR.

virtual makVrv::DtAnimationManager::~DtAnimationManager ( )
protectedvirtual

DTOR.

Member Function Documentation

static DtAnimationManager& makVrv::DtAnimationManager::instance ( DtDe de)
static

Get an instance of the DtAnimationManager.

virtual bool makVrv::DtAnimationManager::isEnabled ( )
virtual

Return whether the animation manager is enabled.

virtual void makVrv::DtAnimationManager::setEnabled ( bool  enable)
virtual

Sets whether the animation manager is enabled.

If set to false, animation manager will stop playing any key frame animation.

virtual void makVrv::DtAnimationManager::playAnimation ( osgAnimation::Animation *  pAnimation,
int  priority = 0,
float  weight = 1.0 
)
virtual

play the animation

virtual void makVrv::DtAnimationManager::registerAnimation ( osgAnimation::Animation *  animation)
virtual

register the animation

virtual void makVrv::DtAnimationManager::buildTargetReference ( )
virtual

build the animated target reference

virtual void makVrv::DtAnimationManager::setUpdateCallback ( osg::Node *  rootNode)
virtual

Setup the update callback on the root node for the animation manager.

const osgAnimation::AnimationList& makVrv::DtAnimationManager::getAnimationList ( ) const

Return the animation list.

static void makVrv::DtAnimationManager::registerInstance ( DtDe de,
DtAnimationManager manager 
)
staticprotected
static const std::string& makVrv::DtAnimationManager::theClassName ( )
staticprotected

Get the name used to register this class.

void makVrv::DtAnimationManager::connectSignals ( )
protected

Connects all the signals.

Non virtual, called in CTOR.

virtual void makVrv::DtAnimationManager::shutdown ( )
protectedvirtual

Shut down the sound system, destroy the context and release all the sound resources.

Member Data Documentation

osg::ref_ptr<osgAnimation::BasicAnimationManager> makVrv::DtAnimationManager::myBasicAnimationManager
protected
DtDe& makVrv::DtAnimationManager::myDe
protected
DtSignalConnectionManager makVrv::DtAnimationManager::myConnections
protected
bool makVrv::DtAnimationManager::myIsEnabled
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)