VR-Forces 5.0.1 Developer's Guide
 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.

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

Public Member Functions

virtual bool isEnabled ()
 
virtual void setEnabled (bool enable)
 
virtual void playAnimation (osgAnimation::Animation *pAnimation, int priority=0, float weight=1.0)
 
virtual void registerAnimation (osgAnimation::Animation *animation)
 
virtual void buildTargetReference ()
 
virtual void setUpdateCallback (osg::Node *rootNode)
 
const osgAnimation::AnimationList & getAnimationList () const
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtAnimationManagerinstance (DtDe &de)
 

Protected Member Functions

 DtAnimationManager (DtDe &)
 
virtual ~DtAnimationManager ()
 
void connectSignals ()
 
virtual void shutdown ()
 

Static Protected Member Functions

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

Protected Attributes

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

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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)