LLKeyframeMotion::RotationCurve Class Reference

#include <llkeyframemotion.h>

Collaboration diagram for LLKeyframeMotion::RotationCurve:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 349 of file llkeyframemotion.h.


Member Typedef Documentation

Definition at line 359 of file llkeyframemotion.h.


Constructor & Destructor Documentation

LLKeyframeMotion::RotationCurve::RotationCurve (  ) 

Definition at line 209 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, mInterpolationType, and mNumKeys.

LLKeyframeMotion::RotationCurve::~RotationCurve (  ) 

Definition at line 218 of file llkeyframemotion.cpp.

References mKeys, and mNumKeys.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 357 of file llkeyframemotion.h.

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

Definition at line 361 of file llkeyframemotion.h.

Referenced by getValue(), and LLKeyframeMotion::setLoopIn().

Definition at line 362 of file llkeyframemotion.h.

Referenced by LLKeyframeMotion::setLoopOut().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:51:10 2008 for SecondLife by  doxygen 1.5.5