Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
BIAS::MyBasicAnimationManager Class Reference

#include <GLviewer/Scenes/SceneOpenSceneGraph.hh>

+ Inheritance diagram for BIAS::MyBasicAnimationManager:
+ Collaboration diagram for BIAS::MyBasicAnimationManager:

Public Member Functions

 MyBasicAnimationManager ()
 
void NextFrame ()
 
void operator() (osg::Node *node, osg::NodeVisitor *nv)
 
void playAnimation (osgAnimation::Animation *pAnimation, int priority=0, float weight=1.0)
 
 ~MyBasicAnimationManager ()
 

Protected Attributes

int counter
 
double timer
 

Detailed Description

Definition at line 26 of file SceneOpenSceneGraph.hh.

Constructor & Destructor Documentation

BIAS::MyBasicAnimationManager::MyBasicAnimationManager ( )
inline

Definition at line 29 of file SceneOpenSceneGraph.hh.

References counter, and timer.

BIAS::MyBasicAnimationManager::~MyBasicAnimationManager ( )
inline

Definition at line 33 of file SceneOpenSceneGraph.hh.

Member Function Documentation

void BIAS::MyBasicAnimationManager::NextFrame ( )
inline

Definition at line 57 of file SceneOpenSceneGraph.hh.

References timer.

void BIAS::MyBasicAnimationManager::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
inline

manager need to link, it means that an animation has been added so we need to relink all item animated with all animations. We apply the linker visitor on the manager node to affect all its children. But it should not be done here, it should be done in the update of AnimationManager

Definition at line 35 of file SceneOpenSceneGraph.hh.

References timer.

void BIAS::MyBasicAnimationManager::playAnimation ( osgAnimation::Animation *  pAnimation,
int  priority = 0,
float  weight = 1.0 
)
inline

Definition at line 61 of file SceneOpenSceneGraph.hh.

References timer.

Member Data Documentation

int BIAS::MyBasicAnimationManager::counter
protected

Definition at line 70 of file SceneOpenSceneGraph.hh.

Referenced by MyBasicAnimationManager().

double BIAS::MyBasicAnimationManager::timer
protected

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