LLKeyframeMotion::PositionCurve Class Reference

#include <llkeyframemotion.h>

Collaboration diagram for LLKeyframeMotion::PositionCurve:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< F32,
PositionKey
key_map_t

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


Detailed Description

Definition at line 368 of file llkeyframemotion.h.


Member Typedef Documentation

Definition at line 378 of file llkeyframemotion.h.


Constructor & Destructor Documentation

LLKeyframeMotion::PositionCurve::PositionCurve (  ) 

Definition at line 290 of file llkeyframemotion.cpp.

References LLKeyframeMotion::IT_LINEAR, mInterpolationType, and mNumKeys.

LLKeyframeMotion::PositionCurve::~PositionCurve (  ) 

Definition at line 299 of file llkeyframemotion.cpp.

References mKeys, and mNumKeys.


Member Function Documentation

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

Definition at line 308 of file llkeyframemotion.cpp.

References LLVector3::clearVec(), interp(), LLVector3::isFinite(), llassert, 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::PositionCurve::interp ( F32  u,
PositionKey before,
PositionKey after 
)

Definition at line 356 of file llkeyframemotion.cpp.

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

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

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

Definition at line 380 of file llkeyframemotion.h.

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

Definition at line 381 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