std::map< SLstring, SLAnimPlayback * > SLMAnimPlayback
vector< SLAnimSkeleton * > SLVSkeleton
std::map< SLstring, SLAnimation * > SLMAnimation
vector< SLJoint * > SLVJoint
vector< SLMat4f > SLVMat4f
SLAnimManager is the central class for all animation handling.
Manages the playback of an SLAnimation.
SLAnimSkeleton keeps track of a skeletons joints and animations.
SLMAnimPlayback _animPlaybacks
map of animation playbacks for this skeleton
void addAnimation(SLAnimation *anim)
void getJointMatrices(SLVMat4f &jointWM)
SLVec3f _minOS
min point in os for this skeleton (attribute for skeleton instance)
SLAnimPlayback * animPlayback(const SLstring &name)
SLJoint * _rootJoint
pointer to the root joint of skeleton
void loadAnimation(const SLstring &file)
const SLVJoint & joints() const
SLbool updateAnimations(SLfloat elapsedTimeSec)
SLbool _changed
did this skeleton change this frame (attribute for skeleton instance)
SLbool _minMaxOutOfDate
dirty flag aabb rebuild
SLint numAnimations() const
SLMAnimation _animations
map of animations for this skeleton
SLVec3f _maxOS
max point in os for this skeleton (attribute for skeleton instance)
SLMAnimation animations()
SLJoint * createJoint(SLuint id)
SLAnimation * createAnimation(SLAnimManager &aniMan, const SLstring &name, SLfloat duration)
void rootJoint(SLJoint *joint)
SLJoint * getJoint(SLuint id)
SLVJoint _joints
joint vector for fast access and index to joint mapping
void changed(SLbool changed)
SLAnimation is the base container for all animation data.
Specialized SLNode that represents a single joint (or bone) in a skeleton.
SceneView class represents a dynamic real time 3D view onto the scene.