std::map< SLuint, SLNodeAnimTrack * > SLMNodeAnimTrack
vector< SLAnimation * > SLVAnimation
std::map< SLstring, SLAnimation * > SLMAnimation
SLAxis
Coordinate axis enumeration.
SLAnimSkeleton keeps track of a skeletons joints and animations.
SLAnimation is the base container for all animation data.
SLNodeAnimTrack * createNodeAnimTrackForRotation(SLNode *target, SLfloat angleDeg1, const SLVec3f &axis)
void drawNodeVisuals(SLSceneView *sv)
SLAnimation(const SLstring &name, SLfloat duration)
SLNodeAnimTrack * createNodeAnimTrackForRotation360(SLNode *target, const SLVec3f &axis)
SLMNodeAnimTrack _nodeAnimTracks
map of all the node tracks in this animation
SLNodeAnimTrack * createNodeAnimTrack()
SLfloat _lengthSec
duration of the animation in seconds
void name(const SLstring &name)
SLfloat lengthSec() const
SLfloat prevKeyframeTime(SLfloat time)
SLstring _name
name of the animation
SLNodeAnimTrack * createNodeAnimTrackForRotation3(SLNode *target, SLfloat angleDeg0, SLfloat angleDeg1, SLfloat angleDeg2, const SLVec3f &axis)
SLbool affectsNode(SLNode *node)
SLNodeAnimTrack * createNodeAnimTrackForTranslation(SLNode *target, const SLVec3f &endPos)
SLNodeAnimTrack * createNodeAnimTrackForRotation4(SLNode *target, SLfloat angleDeg0, SLfloat angleDeg1, SLfloat angleDeg2, SLfloat angleDeg3, const SLVec3f &axis)
SLNodeAnimTrack * createNodeAnimTrackForScaling(SLNode *target, const SLVec3f &endScale)
void apply(SLfloat time, SLfloat weight=1.0f, SLfloat scale=1.0f)
SLfloat nextKeyframeTime(SLfloat time)
void applyToNode(SLNode *node, SLfloat time, SLfloat weight=1.0f, SLfloat scale=1.0f)
SLNodeAnimTrack * createNodeAnimTrackForEllipse(SLNode *target, SLfloat radiusA, SLAxis axisA, SLfloat radiusB, SLAxis axisB)
SLNodeAnimTrack * createNodeAnimTrackForRotation2(SLNode *target, SLfloat angleDeg0, SLfloat angleDeg1, const SLVec3f &axis)
Specialized animation track for node animations.
SLNode represents a node in a hierarchical scene graph.
SceneView class represents a dynamic real time 3D view onto the scene.