LLJointState Class Reference

#include <lljointstate.h>

Inheritance diagram for LLJointState:

Inheritance graph
[legend]
Collaboration diagram for LLJointState:

Collaboration graph
[legend]

List of all members.

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)
LLJointgetJoint ()
const LLJointgetJoint () const
BOOL setJoint (LLJoint *joint)
U32 getUsage () const
void setUsage (U32 usage)
F32 getWeight () const
void setWeight (F32 weight)
const LLVector3getPosition () const
void setPosition (const LLVector3 &pos)
const LLQuaterniongetRotation () const
void setRotation (const LLQuaternion &rot)
const LLVector3getScale () const
void setScale (const LLVector3 &scale)
LLJoint::JointPriority getPriority () const
void setPriority (LLJoint::JointPriority priority)

Protected Member Functions

virtual ~LLJointState ()

Protected Attributes

LLJointmJoint
U32 mUsage
F32 mWeight
LLVector3 mPosition
LLQuaternion mRotation
LLVector3 mScale
LLJoint::JointPriority mPriority


Detailed Description

Definition at line 44 of file lljointstate.h.


Member Enumeration Documentation

Enumerator:
INACTIVE 
EASE_IN 
ACTIVE 
EASE_OUT 

Definition at line 47 of file lljointstate.h.

Enumerator:
POS 
ROT 
SCALE 

Definition at line 97 of file lljointstate.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

LLJoint* LLJointState::getJoint (  )  [inline]

Definition at line 90 of file lljointstate.h.

References mJoint.

const LLJoint* LLJointState::getJoint (  )  const [inline]

Definition at line 91 of file lljointstate.h.

References mJoint.

BOOL LLJointState::setJoint ( LLJoint joint  )  [inline]

Definition at line 92 of file lljointstate.h.

References mJoint, and NULL.

U32 LLJointState::getUsage (  )  const [inline]

Definition at line 103 of file lljointstate.h.

References mUsage.

Referenced by LLJointStateBlender::blendJointStates(), and LLKeyframeMotion::JointMotion::update().

Here is the caller graph for this function:

void LLJointState::setUsage ( U32  usage  )  [inline]

Definition at line 104 of file lljointstate.h.

References mUsage.

F32 LLJointState::getWeight (  )  const [inline]

Definition at line 105 of file lljointstate.h.

References mWeight.

Referenced by LLJointStateBlender::blendJointStates().

Here is the caller graph for this function:

void LLJointState::setWeight ( F32  weight  )  [inline]

Definition at line 106 of file lljointstate.h.

References mWeight.

const LLVector3& LLJointState::getPosition ( void   )  const [inline]

Definition at line 109 of file lljointstate.h.

References mPosition.

Referenced by LLJointStateBlender::blendJointStates().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

const LLQuaternion& LLJointState::getRotation (  )  const [inline]

Definition at line 113 of file lljointstate.h.

References mRotation.

Referenced by LLJointStateBlender::blendJointStates().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

const LLVector3& LLJointState::getScale (  )  const [inline]

Definition at line 117 of file lljointstate.h.

References mScale.

Referenced by LLJointStateBlender::blendJointStates().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

LLJoint::JointPriority LLJointState::getPriority (  )  const [inline]

Definition at line 121 of file lljointstate.h.

References mPriority.

void LLJointState::setPriority ( LLJoint::JointPriority  priority  )  [inline]

Definition at line 122 of file lljointstate.h.

References mPriority.


Member Data Documentation

Definition at line 56 of file lljointstate.h.

Referenced by getJoint(), LLJointState(), and setJoint().

Definition at line 59 of file lljointstate.h.

Referenced by getUsage(), LLJointState(), setPosition(), setRotation(), setScale(), and setUsage().

Definition at line 62 of file lljointstate.h.

Referenced by getWeight(), LLJointState(), and setWeight().

Definition at line 65 of file lljointstate.h.

Referenced by getPosition(), and setPosition().

Definition at line 66 of file lljointstate.h.

Referenced by getRotation(), and setRotation().

Definition at line 67 of file lljointstate.h.

Referenced by getScale(), and setScale().

Definition at line 68 of file lljointstate.h.

Referenced by getPriority(), LLJointState(), and setPriority().


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

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