LLPose Class Reference

#include <llpose.h>

Collaboration diagram for LLPose:

Collaboration graph
[legend]
List of all members.

Public Member Functions

LLJointStategetFirstJointState ()
LLJointStategetNextJointState ()
LLJointStatefindJointState (LLJoint *joint)
LLJointStatefindJointState (const std::string &name)
 LLPose ()
 ~LLPose ()
BOOL addJointState (LLJointState *jointState)
BOOL removeJointState (LLJointState *jointState)
BOOL removeAllJointStates ()
void setWeight (F32 weight)
F32 getWeight () const
S32 getNumJointStates () const

Protected Types

typedef std::map< std::string,
LLJointState * > 
joint_map
typedef joint_map::iterator joint_map_iterator
typedef joint_map::value_type joint_map_value_type

Protected Attributes

joint_map mJointMap
F32 mWeight
joint_map_iterator mListIter

Friends

class LLPoseBlender

Detailed Description

Definition at line 51 of file llpose.h.


Member Typedef Documentation

typedef std::map<std::string, LLJointState*> LLPose::joint_map [protected]

Definition at line 55 of file llpose.h.

typedef joint_map::iterator LLPose::joint_map_iterator [protected]

Definition at line 56 of file llpose.h.

typedef joint_map::value_type LLPose::joint_map_value_type [protected]

Definition at line 57 of file llpose.h.


Constructor & Destructor Documentation

LLPose::LLPose (  )  [inline]

Definition at line 70 of file llpose.h.

LLPose::~LLPose (  ) 

Definition at line 50 of file llpose.cpp.


Member Function Documentation

BOOL LLPose::addJointState ( LLJointState jointState  ) 

Definition at line 89 of file llpose.cpp.

References LLJointState::getJoint(), LLJoint::getName(), mJointMap, and TRUE.

Referenced by LLMotion::addJointState(), and LLKeyframeMotionParam::onInitialize().

LLJointState * LLPose::findJointState ( const std::string &  name  ) 

Definition at line 136 of file llpose.cpp.

References mJointMap, and NULL.

LLJointState * LLPose::findJointState ( LLJoint joint  ) 

Definition at line 119 of file llpose.cpp.

References LLJoint::getName(), mJointMap, and NULL.

Referenced by LLKeyframeStandMotion::onInitialize().

LLJointState * LLPose::getFirstJointState (  ) 

Definition at line 57 of file llpose.cpp.

References mJointMap, mListIter, and NULL.

Referenced by LLPoseBlender::addMotion(), and LLKeyframeMotionParam::onInitialize().

LLJointState * LLPose::getNextJointState (  ) 

Definition at line 73 of file llpose.cpp.

References mJointMap, mListIter, and NULL.

Referenced by LLPoseBlender::addMotion(), and LLKeyframeMotionParam::onInitialize().

S32 LLPose::getNumJointStates (  )  const

Definition at line 176 of file llpose.cpp.

References mJointMap, and S32.

F32 LLPose::getWeight (  )  const

Definition at line 168 of file llpose.cpp.

References mWeight.

Referenced by LLMotionController::activateMotionInstance(), LLMotion::isBlending(), LLKeyframeStandMotion::onUpdate(), LLKeyframeMotionParam::onUpdate(), LLEmote::onUpdate(), and LLMotionController::updateMotionsByType().

BOOL LLPose::removeAllJointStates (  ) 

Definition at line 110 of file llpose.cpp.

References mJointMap, and TRUE.

BOOL LLPose::removeJointState ( LLJointState jointState  ) 

Definition at line 101 of file llpose.cpp.

References LLJointState::getJoint(), LLJoint::getName(), mJointMap, and TRUE.

void LLPose::setWeight ( F32  weight  ) 

Definition at line 153 of file llpose.cpp.

References mJointMap, and mWeight.

Referenced by LLMotion::deactivate(), LLKeyframeMotionParam::onUpdate(), and LLMotionController::updateMotionsByType().


Friends And Related Function Documentation

friend class LLPoseBlender [friend]

Definition at line 53 of file llpose.h.


Member Data Documentation

joint_map LLPose::mJointMap [protected]

Definition at line 59 of file llpose.h.

Referenced by addJointState(), findJointState(), getFirstJointState(), getNextJointState(), getNumJointStates(), removeAllJointStates(), removeJointState(), and setWeight().

joint_map_iterator LLPose::mListIter [protected]

Definition at line 61 of file llpose.h.

Referenced by getFirstJointState(), and getNextJointState().

F32 LLPose::mWeight [protected]

Definition at line 60 of file llpose.h.

Referenced by getWeight(), and setWeight().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:39 2010 for Second Life Viewer by  doxygen 1.4.7