#include <TreeManager.h>
Inherited by SimpleTreeManager, and SlowInSlowOutTreeManager.
Inheritance diagram for TreeManager:
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 | |
Node & | getLayout () |
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< Node > | nodeList |
TreeManager::TreeManager | ( | ) |
constructs the TreeManager
pushes Node tree layouts for subsequent animations
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
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] |
unsigned int TreeManager::numFrames [private] |
unsigned int TreeManager::currentFrame [private] |
List<Node> TreeManager::nodeList [private] |