LLKeyframeMotion::ScaleCurve Class Reference

#include <llkeyframemotion.h>

Collaboration diagram for LLKeyframeMotion::ScaleCurve:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScaleCurve ()
 ~ScaleCurve ()
LLVector3 getValue (F32 time, F32 duration)
LLVector3 interp (F32 u, ScaleKey &before, ScaleKey &after)

Public Attributes

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

Detailed Description

Definition at line 327 of file llkeyframemotion.h.


Constructor & Destructor Documentation

LLKeyframeMotion::ScaleCurve::ScaleCurve (  ) 

Definition at line 130 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, mInterpolationType, and mNumKeys.

LLKeyframeMotion::ScaleCurve::~ScaleCurve (  ) 

Definition at line 139 of file llkeyframemotion.cpp.

References mKeys, and mNumKeys.


Member Function Documentation

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

Definition at line 148 of file llkeyframemotion.cpp.

References LLVector3::clearVec(), interp(), mKeys, mLoopInKey, LLKeyframeMotion::ScaleKey::mScale, and u.

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

LLVector3 LLKeyframeMotion::ScaleCurve::interp ( F32  u,
ScaleKey before,
ScaleKey after 
)

Definition at line 194 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, LLKeyframeMotion::IT_SPLINE, LLKeyframeMotion::IT_STEP, lerp(), mInterpolationType, and LLKeyframeMotion::ScaleKey::mScale.

Referenced by getValue().


Member Data Documentation

InterpolationType LLKeyframeMotion::ScaleCurve::mInterpolationType

Definition at line 335 of file llkeyframemotion.h.

Referenced by interp(), and ScaleCurve().

LLPtrSkipMap<F32, ScaleKey*> LLKeyframeMotion::ScaleCurve::mKeys

Definition at line 337 of file llkeyframemotion.h.

Referenced by getValue(), and ~ScaleCurve().

ScaleKey LLKeyframeMotion::ScaleCurve::mLoopInKey

Definition at line 338 of file llkeyframemotion.h.

Referenced by getValue().

ScaleKey LLKeyframeMotion::ScaleCurve::mLoopOutKey

Definition at line 339 of file llkeyframemotion.h.

S32 LLKeyframeMotion::ScaleCurve::mNumKeys

Definition at line 336 of file llkeyframemotion.h.

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


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