LLJointStateBlender Class Reference

#include <llpose.h>

Collaboration diagram for LLJointStateBlender:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLJointStateBlender ()
 ~LLJointStateBlender ()
void blendJointStates (BOOL apply_now=TRUE)
BOOL addJointState (const LLPointer< LLJointState > &joint_state, S32 priority, BOOL additive_blend)
void interpolate (F32 u)
void clear ()
void resetCachedJoint ()

Public Attributes

LLJoint mJointCache

Protected Attributes

LLPointer< LLJointStatemJointStates [JSB_NUM_JOINT_STATES]
S32 mPriorities [JSB_NUM_JOINT_STATES]
BOOL mAdditiveBlends [JSB_NUM_JOINT_STATES]


Detailed Description

Definition at line 87 of file llpose.h.


Constructor & Destructor Documentation

LLJointStateBlender::LLJointStateBlender (  ) 

Definition at line 185 of file llpose.cpp.

References i, JSB_NUM_JOINT_STATES, mJointStates, mPriorities, NULL, S32, and S32_MIN.

LLJointStateBlender::~LLJointStateBlender (  ) 

Definition at line 194 of file llpose.cpp.


Member Function Documentation

void LLJointStateBlender::blendJointStates ( BOOL  apply_now = TRUE  ) 

BOOL LLJointStateBlender::addJointState ( const LLPointer< LLJointState > &  joint_state,
S32  priority,
BOOL  additive_blend 
)

Definition at line 202 of file llpose.cpp.

References FALSE, i, j, JSB_NUM_JOINT_STATES, llassert, mAdditiveBlends, mJointStates, mPriorities, S32, and TRUE.

Referenced by LLPoseBlender::addMotion().

Here is the caller graph for this function:

void LLJointStateBlender::interpolate ( F32  u  ) 

Definition at line 410 of file llpose.cpp.

References LLJoint::getPosition(), LLJoint::getRotation(), LLJoint::getScale(), lerp(), mJointCache, mJointStates, nlerp(), LLJoint::setPosition(), LLJoint::setRotation(), and LLJoint::setScale().

Referenced by LLPoseBlender::interpolate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLJointStateBlender::clear (  ) 

Definition at line 432 of file llpose.cpp.

References i, JSB_NUM_JOINT_STATES, mJointStates, NULL, and S32.

Referenced by LLPoseBlender::clearBlenders().

Here is the caller graph for this function:

void LLJointStateBlender::resetCachedJoint (  ) 

Definition at line 444 of file llpose.cpp.

References LLJoint::getPosition(), LLJoint::getRotation(), LLJoint::getScale(), mJointCache, mJointStates, LLJoint::setPosition(), LLJoint::setRotation(), and LLJoint::setScale().

Referenced by LLPoseBlender::blendAndCache().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 91 of file llpose.h.

Referenced by addJointState(), and LLJointStateBlender().

Definition at line 92 of file llpose.h.

Referenced by addJointState(), and blendJointStates().

Definition at line 103 of file llpose.h.

Referenced by blendJointStates(), interpolate(), and resetCachedJoint().


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

Generated on Fri May 16 08:50:56 2008 for SecondLife by  doxygen 1.5.5