LLKeyframeMotion::PositionCurve Class Reference

#include <llkeyframemotion.h>

Collaboration diagram for LLKeyframeMotion::PositionCurve:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PositionCurve ()
 ~PositionCurve ()
LLVector3 getValue (F32 time, F32 duration)
LLVector3 interp (F32 u, PositionKey &before, PositionKey &after)

Public Attributes

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

Detailed Description

Definition at line 363 of file llkeyframemotion.h.


Constructor & Destructor Documentation

LLKeyframeMotion::PositionCurve::PositionCurve (  ) 

Definition at line 294 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, mInterpolationType, and mNumKeys.

LLKeyframeMotion::PositionCurve::~PositionCurve (  ) 

Definition at line 303 of file llkeyframemotion.cpp.

References mKeys, and mNumKeys.


Member Function Documentation

LLVector3 LLKeyframeMotion::PositionCurve::getValue ( F32  time,
F32  duration 
)

Definition at line 312 of file llkeyframemotion.cpp.

References LLVector3::clearVec(), interp(), LLVector3::isFinite(), llassert, mKeys, mLoopInKey, LLKeyframeMotion::PositionKey::mPosition, and u.

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

LLVector3 LLKeyframeMotion::PositionCurve::interp ( F32  u,
PositionKey before,
PositionKey after 
)

Definition at line 361 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, LLKeyframeMotion::IT_SPLINE, LLKeyframeMotion::IT_STEP, lerp(), mInterpolationType, and LLKeyframeMotion::PositionKey::mPosition.

Referenced by getValue().


Member Data Documentation

InterpolationType LLKeyframeMotion::PositionCurve::mInterpolationType

Definition at line 371 of file llkeyframemotion.h.

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

LLPtrSkipMap<F32, PositionKey*> LLKeyframeMotion::PositionCurve::mKeys

Definition at line 373 of file llkeyframemotion.h.

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

PositionKey LLKeyframeMotion::PositionCurve::mLoopInKey

Definition at line 374 of file llkeyframemotion.h.

Referenced by getValue().

PositionKey LLKeyframeMotion::PositionCurve::mLoopOutKey

Definition at line 375 of file llkeyframemotion.h.

S32 LLKeyframeMotion::PositionCurve::mNumKeys

Definition at line 372 of file llkeyframemotion.h.

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


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