9 #ifndef SLANIMMANAGER_H 
   10 #define SLANIMMANAGER_H 
vector< SLstring > SLVstring
 
vector< SLAnimPlayback * > SLVAnimPlayback
 
std::map< SLstring, SLAnimPlayback * > SLMAnimPlayback
 
vector< SLAnimSkeleton * > SLVSkeleton
 
std::map< SLstring, SLAnimation * > SLMAnimation
 
SLEasingCurve
Enumeration for animation easing curves.
 
SLAnimLooping
Enumeration for animation modes.
 
SLAnimManager is the central class for all animation handling.
 
SLVAnimPlayback & animPlaybacks()
 
SLVSkeleton _skeletons
all skeleton instances
 
SLMAnimation & animationNamesMap()
 
SLVSkeleton & skeletons()
 
SLAnimPlayback * animPlaybackByName(const SLstring &name)
Returns the playback of a node animation or skeleton by name if it exists.
 
SLMAnimPlayback & animPlaybackNamesMap()
 
~SLAnimManager()
destructor
 
SLMAnimation _animationNamesMap
map name to animation
 
SLVstring & animationNames()
 
void addNodeAnimation(SLAnimation *anim)
 
SLAnimation * createNodeAnimation(SLfloat duration)
 
void addSkeleton(SLAnimSkeleton *skel)
Add a skeleton to the skeleton vector.
 
void clear()
Clears and deletes all node animations and skeletons.
 
SLVstring _animationNames
vector with all animation names
 
SLMAnimPlayback _animPlaybackNamesMap
map name to animation playbacks
 
SLbool hasNodeAnimations()
 
SLVAnimPlayback _animPlaybacks
vector with all animation playbacks
 
SLAnimPlayback * animPlaybackByIndex(SLuint ix)
 
SLAnimPlayback * animPlaybacksBack()
 
void drawVisuals(SLSceneView *sv)
Draws the animation visualizations.
 
SLbool update(SLfloat elapsedTimeSec)
Advances the time of all enabled animation plays.
 
Manages the playback of an SLAnimation.
 
SLAnimSkeleton keeps track of a skeletons joints and animations.
 
SLAnimation is the base container for all animation data.
 
SceneView class represents a dynamic real time 3D view onto the scene.