#include <llpose.h>
Collaboration diagram for LLJointStateBlender:

| Public Member Functions | |
| LLJointStateBlender () | |
| ~LLJointStateBlender () | |
| void | blendJointStates (BOOL apply_now=TRUE) | 
| BOOL | addJointState (LLJointState *joint_state, S32 priority, BOOL additive_blend) | 
| void | interpolate (F32 u) | 
| void | clear () | 
| void | resetCachedJoint () | 
| Public Attributes | |
| LLJoint | mJointCache | 
| Protected Attributes | |
| LLJointState * | mJointStates [JSB_NUM_JOINT_STATES] | 
| S32 | mPriorities [JSB_NUM_JOINT_STATES] | 
| BOOL | mAdditiveBlends [JSB_NUM_JOINT_STATES] | 
Definition at line 89 of file llpose.h.
| 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.
| BOOL LLJointStateBlender::addJointState | ( | LLJointState * | joint_state, | |
| S32 | priority, | |||
| BOOL | additive_blend | |||
| ) | 
Definition at line 202 of file llpose.cpp.
References FALSE, LLJointState::getJoint(), i, j, JSB_NUM_JOINT_STATES, llassert, mAdditiveBlends, mJointStates, mPriorities, NULL, S32, and TRUE.
Referenced by LLPoseBlender::addMotion().
Definition at line 244 of file llpose.cpp.
References f, LLJointState::getJoint(), LLJoint::getPosition(), LLJoint::getRotation(), LLJoint::getScale(), i, JSB_NUM_JOINT_STATES, lerp(), llmin(), mAdditiveBlends, mJointCache, mJointStates, nlerp(), NULL, LLJointState::POS, LLJointState::ROT, S32, LLJointState::SCALE, LLJoint::setPosition(), LLJoint::setRotation(), and LLJoint::setScale().
| void LLJointStateBlender::clear | ( | ) | 
Definition at line 427 of file llpose.cpp.
References i, JSB_NUM_JOINT_STATES, mJointStates, NULL, and S32.
Definition at line 405 of file llpose.cpp.
References LLJointState::getJoint(), LLJoint::getPosition(), LLJoint::getRotation(), LLJoint::getScale(), lerp(), mJointCache, mJointStates, nlerp(), LLJoint::setPosition(), LLJoint::setRotation(), and LLJoint::setScale().
| void LLJointStateBlender::resetCachedJoint | ( | ) | 
Definition at line 439 of file llpose.cpp.
References LLJointState::getJoint(), LLJoint::getPosition(), LLJoint::getRotation(), LLJoint::getScale(), mJointCache, mJointStates, LLJoint::setPosition(), LLJoint::setRotation(), and LLJoint::setScale().
| BOOL LLJointStateBlender::mAdditiveBlends[JSB_NUM_JOINT_STATES]  [protected] | 
Definition at line 105 of file llpose.h.
Referenced by blendJointStates(), interpolate(), and resetCachedJoint().
Definition at line 92 of file llpose.h.
Referenced by addJointState(), blendJointStates(), clear(), interpolate(), LLJointStateBlender(), and resetCachedJoint().
| S32 LLJointStateBlender::mPriorities[JSB_NUM_JOINT_STATES]  [protected] | 
 1.4.7
 1.4.7