#include <lljointstate.h>
Collaboration diagram for LLJointState:
Public Types | |
INACTIVE | |
EASE_IN | |
ACTIVE | |
EASE_OUT | |
POS = 1 | |
ROT = 2 | |
SCALE = 4 | |
enum | BlendPhase { INACTIVE, EASE_IN, ACTIVE, EASE_OUT } |
enum | Usage { POS = 1, ROT = 2, SCALE = 4 } |
Public Member Functions | |
LLJointState () | |
LLJointState (LLJoint *joint) | |
virtual | ~LLJointState () |
LLJoint * | getJoint () |
BOOL | setJoint (LLJoint *joint) |
U32 | getUsage () |
void | setUsage (U32 usage) |
F32 | getWeight () |
void | setWeight (F32 weight) |
const LLVector3 & | getPosition () |
void | setPosition (const LLVector3 &pos) |
const LLQuaternion & | getRotation () |
void | setRotation (const LLQuaternion &rot) |
const LLVector3 & | getScale () |
void | setScale (const LLVector3 &scale) |
LLJoint::JointPriority | getPriority () |
void | setPriority (const LLJoint::JointPriority priority) |
Protected Attributes | |
LLJoint * | mJoint |
U32 | mUsage |
F32 | mWeight |
LLVector3 | mPosition |
LLQuaternion | mRotation |
LLVector3 | mScale |
LLJoint::JointPriority | mPriority |
Definition at line 43 of file lljointstate.h.
enum LLJointState::Usage |
LLJointState::LLJointState | ( | ) | [inline] |
Definition at line 70 of file lljointstate.h.
References mJoint, mPriority, mUsage, mWeight, NULL, and LLJoint::USE_MOTION_PRIORITY.
LLJointState::LLJointState | ( | LLJoint * | joint | ) | [inline] |
Definition at line 79 of file lljointstate.h.
References mJoint, mPriority, mUsage, mWeight, and LLJoint::USE_MOTION_PRIORITY.
virtual LLJointState::~LLJointState | ( | ) | [inline, virtual] |
Definition at line 89 of file lljointstate.h.
LLJoint* LLJointState::getJoint | ( | ) | [inline] |
Definition at line 94 of file lljointstate.h.
References mJoint.
Referenced by LLJointStateBlender::addJointState(), LLPose::addJointState(), LLMotion::addJointState(), LLKeyframeMotion::applyConstraint(), LLJointStateBlender::blendJointStates(), LLKeyframeMotion::initializeConstraint(), LLJointStateBlender::interpolate(), LLEditingMotion::onActivate(), LLEyeMotion::onDeactivate(), LLEyeMotion::onInitialize(), LLHeadRotMotion::onInitialize(), LLEditingMotion::onInitialize(), LLWalkAdjustMotion::onUpdate(), LLKeyframeStandMotion::onUpdate(), LLEyeMotion::onUpdate(), LLHeadRotMotion::onUpdate(), LLEditingMotion::onUpdate(), LLPose::removeJointState(), and LLJointStateBlender::resetCachedJoint().
Definition at line 112 of file lljointstate.h.
References mPosition.
Referenced by LLWalkAdjustMotion::onUpdate(), and LLKeyframeStandMotion::onUpdate().
LLJoint::JointPriority LLJointState::getPriority | ( | ) | [inline] |
Definition at line 124 of file lljointstate.h.
References mPriority.
Referenced by LLMotion::addJointState().
const LLQuaternion& LLJointState::getRotation | ( | ) | [inline] |
Definition at line 116 of file lljointstate.h.
References mRotation.
Referenced by LLKeyframeMotion::applyConstraint(), LLTargetingMotion::onUpdate(), LLKeyframeStandMotion::onUpdate(), LLKeyframeFallMotion::onUpdate(), and LLHeadRotMotion::onUpdate().
const LLVector3& LLJointState::getScale | ( | ) | [inline] |
U32 LLJointState::getUsage | ( | ) | [inline] |
Definition at line 106 of file lljointstate.h.
References mUsage.
Referenced by LLMotion::addJointState(), LLKeyframeMotion::deserialize(), and LLKeyframeMotion::JointMotion::update().
F32 LLJointState::getWeight | ( | ) | [inline] |
Definition at line 95 of file lljointstate.h.
Referenced by LLKeyframeMotion::deserialize(), LLPelvisFixMotion::onInitialize(), LLBreatheMotionRot::onInitialize(), LLBodyNoiseMotion::onInitialize(), LLTargetingMotion::onInitialize(), LLFlyAdjustMotion::onInitialize(), LLWalkAdjustMotion::onInitialize(), LLEyeMotion::onInitialize(), LLHeadRotMotion::onInitialize(), and LLEditingMotion::onInitialize().
Definition at line 113 of file lljointstate.h.
References llassert, mPosition, mUsage, and POS.
Referenced by LLKeyframeMotion::applyConstraint(), LLFlyAdjustMotion::onActivate(), LLWalkAdjustMotion::onActivate(), LLPelvisFixMotion::onUpdate(), LLWalkAdjustMotion::onUpdate(), and LLKeyframeMotion::JointMotion::update().
void LLJointState::setPriority | ( | const LLJoint::JointPriority | priority | ) | [inline] |
Definition at line 125 of file lljointstate.h.
References mPriority.
Referenced by LLKeyframeMotion::deserialize(), and LLKeyframeMotion::onInitialize().
void LLJointState::setRotation | ( | const LLQuaternion & | rot | ) | [inline] |
Definition at line 117 of file lljointstate.h.
References llassert, mRotation, mUsage, and ROT.
Referenced by LLKeyframeMotion::applyConstraint(), LLFlyAdjustMotion::onActivate(), LLBreatheMotionRot::onUpdate(), LLBodyNoiseMotion::onUpdate(), LLTargetingMotion::onUpdate(), LLFlyAdjustMotion::onUpdate(), LLKeyframeStandMotion::onUpdate(), LLKeyframeFallMotion::onUpdate(), LLEyeMotion::onUpdate(), LLHeadRotMotion::onUpdate(), LLEditingMotion::onUpdate(), and LLKeyframeMotion::JointMotion::update().
Definition at line 121 of file lljointstate.h.
References llassert, mScale, mUsage, and SCALE.
Referenced by LLKeyframeMotion::JointMotion::update().
Definition at line 107 of file lljointstate.h.
References mUsage.
Referenced by LLKeyframeMotion::deserialize(), LLPelvisFixMotion::onInitialize(), LLBreatheMotionRot::onInitialize(), LLBodyNoiseMotion::onInitialize(), LLTargetingMotion::onInitialize(), LLFlyAdjustMotion::onInitialize(), LLWalkAdjustMotion::onInitialize(), LLKeyframeMotion::onInitialize(), LLEyeMotion::onInitialize(), LLHeadRotMotion::onInitialize(), and LLEditingMotion::onInitialize().
LLJoint* LLJointState::mJoint [protected] |
Definition at line 55 of file lljointstate.h.
Referenced by getJoint(), LLJointState(), and setJoint().
LLVector3 LLJointState::mPosition [protected] |
LLJoint::JointPriority LLJointState::mPriority [protected] |
Definition at line 67 of file lljointstate.h.
Referenced by getPriority(), LLJointState(), and setPriority().
LLQuaternion LLJointState::mRotation [protected] |
LLVector3 LLJointState::mScale [protected] |
U32 LLJointState::mUsage [protected] |
Definition at line 58 of file lljointstate.h.
Referenced by getUsage(), LLJointState(), setPosition(), setRotation(), setScale(), and setUsage().
F32 LLJointState::mWeight [protected] |
Definition at line 61 of file lljointstate.h.
Referenced by getWeight(), LLJointState(), and setWeight().