#include <llkeyframemotion.h>
Public Types | |
typedef std::map< F32, RotationKey > | key_map_t |
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 |
key_map_t | mKeys |
RotationKey | mLoopInKey |
RotationKey | mLoopOutKey |
Definition at line 349 of file llkeyframemotion.h.
typedef std::map<F32, RotationKey> LLKeyframeMotion::RotationCurve::key_map_t |
Definition at line 359 of file llkeyframemotion.h.
LLKeyframeMotion::RotationCurve::RotationCurve | ( | ) |
Definition at line 209 of file llkeyframemotion.cpp.
References LLKeyframeMotion::IT_LINEAR, mInterpolationType, and mNumKeys.
LLKeyframeMotion::RotationCurve::~RotationCurve | ( | ) |
LLQuaternion LLKeyframeMotion::RotationCurve::getValue | ( | F32 | time, | |
F32 | duration | |||
) |
Definition at line 227 of file llkeyframemotion.cpp.
References LLQuaternion::DEFAULT, interp(), mKeys, and mLoopInKey.
Referenced by LLKeyframeMotion::setLoopIn(), LLKeyframeMotion::setLoopOut(), and LLKeyframeMotion::JointMotion::update().
LLQuaternion LLKeyframeMotion::RotationCurve::interp | ( | F32 | u, | |
RotationKey & | before, | |||
RotationKey & | after | |||
) |
Definition at line 272 of file llkeyframemotion.cpp.
References LLKeyframeMotion::IT_LINEAR, LLKeyframeMotion::IT_SPLINE, LLKeyframeMotion::IT_STEP, mInterpolationType, LLKeyframeMotion::RotationKey::mRotation, and nlerp().
Referenced by getValue().
Definition at line 357 of file llkeyframemotion.h.
Referenced by LLKeyframeMotion::deserialize(), interp(), and RotationCurve().
Definition at line 358 of file llkeyframemotion.h.
Referenced by LLKeyframeMotion::deserialize(), LLKeyframeMotion::JointMotionList::dumpDiagInfo(), RotationCurve(), LLKeyframeMotion::serialize(), LLKeyframeMotion::JointMotion::update(), and ~RotationCurve().
Definition at line 360 of file llkeyframemotion.h.
Referenced by LLKeyframeMotion::deserialize(), getValue(), LLKeyframeMotion::serialize(), and ~RotationCurve().
Definition at line 361 of file llkeyframemotion.h.
Referenced by getValue(), and LLKeyframeMotion::setLoopIn().