LLKeyframeMotion::RotationCurve Class Reference

#include <llkeyframemotion.h>

Collaboration diagram for LLKeyframeMotion::RotationCurve:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RotationCurve ()
 ~RotationCurve ()
LLQuaternion getValue (F32 time, F32 duration)
LLQuaternion interp (F32 u, RotationKey &before, RotationKey &after)

Public Attributes

InterpolationType mInterpolationType
S32 mNumKeys
LLPtrSkipMap< F32, RotationKey * > mKeys
RotationKey mLoopInKey
RotationKey mLoopOutKey

Detailed Description

Definition at line 345 of file llkeyframemotion.h.


Constructor & Destructor Documentation

LLKeyframeMotion::RotationCurve::RotationCurve (  ) 

Definition at line 211 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, mInterpolationType, and mNumKeys.

LLKeyframeMotion::RotationCurve::~RotationCurve (  ) 

Definition at line 220 of file llkeyframemotion.cpp.

References mKeys, and mNumKeys.


Member Function Documentation

LLQuaternion LLKeyframeMotion::RotationCurve::getValue ( F32  time,
F32  duration 
)

Definition at line 229 of file llkeyframemotion.cpp.

References LLQuaternion::DEFAULT, interp(), mKeys, mLoopInKey, LLKeyframeMotion::RotationKey::mRotation, and u.

Referenced by LLKeyframeMotion::JointMotion::update().

LLQuaternion LLKeyframeMotion::RotationCurve::interp ( F32  u,
RotationKey before,
RotationKey after 
)

Definition at line 276 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, LLKeyframeMotion::IT_SPLINE, LLKeyframeMotion::IT_STEP, mInterpolationType, LLKeyframeMotion::RotationKey::mRotation, and nlerp().

Referenced by getValue().


Member Data Documentation

InterpolationType LLKeyframeMotion::RotationCurve::mInterpolationType

Definition at line 353 of file llkeyframemotion.h.

Referenced by LLKeyframeMotion::deserialize(), interp(), and RotationCurve().

LLPtrSkipMap<F32, RotationKey*> LLKeyframeMotion::RotationCurve::mKeys

Definition at line 355 of file llkeyframemotion.h.

Referenced by LLKeyframeMotion::deserialize(), getValue(), and ~RotationCurve().

RotationKey LLKeyframeMotion::RotationCurve::mLoopInKey

Definition at line 356 of file llkeyframemotion.h.

Referenced by getValue().

RotationKey LLKeyframeMotion::RotationCurve::mLoopOutKey

Definition at line 357 of file llkeyframemotion.h.

S32 LLKeyframeMotion::RotationCurve::mNumKeys

Definition at line 354 of file llkeyframemotion.h.

Referenced by LLKeyframeMotion::deserialize(), RotationCurve(), LLKeyframeMotion::JointMotion::update(), and ~RotationCurve().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:27 2010 for Second Life Viewer by  doxygen 1.4.7