LLKeyframeMotion::ScaleCurve Class Reference

#include <llkeyframemotion.h>

Collaboration diagram for LLKeyframeMotion::ScaleCurve:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< F32, ScaleKeykey_map_t

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
key_map_t mKeys
ScaleKey mLoopInKey
ScaleKey mLoopOutKey


Detailed Description

Definition at line 330 of file llkeyframemotion.h.


Member Typedef Documentation

Definition at line 340 of file llkeyframemotion.h.


Constructor & Destructor Documentation

LLKeyframeMotion::ScaleCurve::ScaleCurve (  ) 

Definition at line 129 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, mInterpolationType, and mNumKeys.

LLKeyframeMotion::ScaleCurve::~ScaleCurve (  ) 

Definition at line 138 of file llkeyframemotion.cpp.

References mKeys, and mNumKeys.


Member Function Documentation

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

Definition at line 147 of file llkeyframemotion.cpp.

References LLVector3::clearVec(), 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:

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

Definition at line 192 of file llkeyframemotion.cpp.

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

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 338 of file llkeyframemotion.h.

Referenced by interp(), and ScaleCurve().

Definition at line 341 of file llkeyframemotion.h.

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

Definition at line 342 of file llkeyframemotion.h.

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

Definition at line 343 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:11 2008 for SecondLife by  doxygen 1.5.5