TreeManager Class Reference

TreeManager manages animation and storage of Node trees. More...

#include <TreeManager.h>

Inherited by SimpleTreeManager, and SlowInSlowOutTreeManager.

Inheritance diagram for TreeManager:

Inheritance graph
[legend]
Collaboration diagram for TreeManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TreeManager ()
 constructs the TreeManager
void pushAnimationLayouts (const List< Node > &)
 pushes Node tree layouts for subsequent animations
void pushLayout (const Node &)
 pushes a particular static Node tree layout
void setNumFrames (unsigned int)
 sets the number of frames per keyframe step
unsigned int getNumFrames () const
 returns the number of frames per keyframe step
NodegetLayout ()
 returns the current Node tree layout
bool getAnimationKeyframes (float &, Node &, Node &, bool step)
 gets interpolation value and involved Node trees in subsequent (optionally advancing) keyframe animation
bool isAnimationActive () const
 checks if keyframe animation is currently active

Protected Member Functions

virtual float getKeyframeTransformation (float) const =0
 translates keyframe time

Private Attributes

unsigned int numFrames
unsigned int currentFrame
List< NodenodeList

Detailed Description

TreeManager manages animation and storage of Node trees.


Constructor & Destructor Documentation

TreeManager::TreeManager (  ) 

constructs the TreeManager


Member Function Documentation

void TreeManager::pushAnimationLayouts ( const List< Node > &   ) 

pushes Node tree layouts for subsequent animations

void TreeManager::pushLayout ( const Node  ) 

pushes a particular static Node tree layout

void TreeManager::setNumFrames ( unsigned  int  ) 

sets the number of frames per keyframe step

unsigned int TreeManager::getNumFrames (  )  const [inline]

returns the number of frames per keyframe step

Node & TreeManager::getLayout (  ) 

returns the current Node tree layout

bool TreeManager::getAnimationKeyframes ( float &  ,
Node ,
Node ,
bool  step 
)

gets interpolation value and involved Node trees in subsequent (optionally advancing) keyframe animation

bool TreeManager::isAnimationActive (  )  const

checks if keyframe animation is currently active

virtual float TreeManager::getKeyframeTransformation ( float   )  const [protected, pure virtual]

translates keyframe time

Implemented in SimpleTreeManager, and SlowInSlowOutTreeManager.


Member Data Documentation

unsigned int TreeManager::numFrames [private]

unsigned int TreeManager::currentFrame [private]

List<Node> TreeManager::nodeList [private]


The documentation for this class was generated from the following files:
Generated on Wed Jun 27 00:31:52 2007 for ARGL by  doxygen 1.5.2