#include <lljointstate.h>
Public Types | |
enum | BlendPhase { INACTIVE, EASE_IN, ACTIVE, EASE_OUT } |
enum | Usage { POS = 1, ROT = 2, SCALE = 4 } |
Public Member Functions | |
LLJointState () | |
LLJointState (LLJoint *joint) | |
LLJoint * | getJoint () |
const LLJoint * | getJoint () const |
BOOL | setJoint (LLJoint *joint) |
U32 | getUsage () const |
void | setUsage (U32 usage) |
F32 | getWeight () const |
void | setWeight (F32 weight) |
const LLVector3 & | getPosition () const |
void | setPosition (const LLVector3 &pos) |
const LLQuaternion & | getRotation () const |
void | setRotation (const LLQuaternion &rot) |
const LLVector3 & | getScale () const |
void | setScale (const LLVector3 &scale) |
LLJoint::JointPriority | getPriority () const |
void | setPriority (LLJoint::JointPriority priority) |
Protected Member Functions | |
virtual | ~LLJointState () |
Protected Attributes | |
LLJoint * | mJoint |
U32 | mUsage |
F32 | mWeight |
LLVector3 | mPosition |
LLQuaternion | mRotation |
LLVector3 | mScale |
LLJoint::JointPriority | mPriority |
Definition at line 44 of file lljointstate.h.
enum LLJointState::Usage |
LLJointState::LLJointState | ( | ) | [inline] |
Definition at line 71 of file lljointstate.h.
References mJoint, mPriority, mUsage, mWeight, NULL, and LLJoint::USE_MOTION_PRIORITY.
LLJointState::LLJointState | ( | LLJoint * | joint | ) | [inline] |
Definition at line 80 of file lljointstate.h.
References mJoint, mPriority, mUsage, mWeight, and LLJoint::USE_MOTION_PRIORITY.
virtual LLJointState::~LLJointState | ( | ) | [inline, protected, virtual] |
Definition at line 126 of file lljointstate.h.
LLJoint* LLJointState::getJoint | ( | ) | [inline] |
const LLJoint* LLJointState::getJoint | ( | ) | const [inline] |
U32 LLJointState::getUsage | ( | ) | const [inline] |
Definition at line 103 of file lljointstate.h.
References mUsage.
Referenced by LLJointStateBlender::blendJointStates(), and LLKeyframeMotion::JointMotion::update().
void LLJointState::setUsage | ( | U32 | usage | ) | [inline] |
F32 LLJointState::getWeight | ( | ) | const [inline] |
Definition at line 105 of file lljointstate.h.
References mWeight.
Referenced by LLJointStateBlender::blendJointStates().
void LLJointState::setWeight | ( | F32 | weight | ) | [inline] |
const LLVector3& LLJointState::getPosition | ( | void | ) | const [inline] |
Definition at line 109 of file lljointstate.h.
References mPosition.
Referenced by LLJointStateBlender::blendJointStates().
void LLJointState::setPosition | ( | const LLVector3 & | pos | ) | [inline] |
Definition at line 110 of file lljointstate.h.
References llassert, mPosition, mUsage, and POS.
Referenced by LLKeyframeMotion::JointMotion::update().
const LLQuaternion& LLJointState::getRotation | ( | ) | const [inline] |
Definition at line 113 of file lljointstate.h.
References mRotation.
Referenced by LLJointStateBlender::blendJointStates().
void LLJointState::setRotation | ( | const LLQuaternion & | rot | ) | [inline] |
Definition at line 114 of file lljointstate.h.
References llassert, mRotation, mUsage, and ROT.
Referenced by LLKeyframeMotion::JointMotion::update().
const LLVector3& LLJointState::getScale | ( | ) | const [inline] |
Definition at line 117 of file lljointstate.h.
References mScale.
Referenced by LLJointStateBlender::blendJointStates().
void LLJointState::setScale | ( | const LLVector3 & | scale | ) | [inline] |
Definition at line 118 of file lljointstate.h.
References llassert, mScale, mUsage, and SCALE.
Referenced by LLKeyframeMotion::JointMotion::update().
LLJoint::JointPriority LLJointState::getPriority | ( | ) | const [inline] |
void LLJointState::setPriority | ( | LLJoint::JointPriority | priority | ) | [inline] |
LLJoint* LLJointState::mJoint [protected] |
Definition at line 56 of file lljointstate.h.
Referenced by getJoint(), LLJointState(), and setJoint().
U32 LLJointState::mUsage [protected] |
Definition at line 59 of file lljointstate.h.
Referenced by getUsage(), LLJointState(), setPosition(), setRotation(), setScale(), and setUsage().
F32 LLJointState::mWeight [protected] |
Definition at line 62 of file lljointstate.h.
Referenced by getWeight(), LLJointState(), and setWeight().
LLVector3 LLJointState::mPosition [protected] |
LLQuaternion LLJointState::mRotation [protected] |
LLVector3 LLJointState::mScale [protected] |
LLJoint::JointPriority LLJointState::mPriority [protected] |
Definition at line 68 of file lljointstate.h.
Referenced by getPriority(), LLJointState(), and setPriority().