LLPose Class Reference

#include <llpose.h>

List of all members.

Public Member Functions

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

Protected Types

typedef std::map< std::string,
LLPointer< 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 49 of file llpose.h.


Member Typedef Documentation

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

Definition at line 53 of file llpose.h.

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

Definition at line 54 of file llpose.h.

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

Definition at line 55 of file llpose.h.


Constructor & Destructor Documentation

LLPose::LLPose (  )  [inline]

Definition at line 68 of file llpose.h.

LLPose::~LLPose (  ) 

Definition at line 50 of file llpose.cpp.


Member Function Documentation

LLJointState * LLPose::getFirstJointState (  ) 

Definition at line 57 of file llpose.cpp.

References mJointMap, mListIter, and NULL.

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

Here is the caller graph for this function:

LLJointState * LLPose::getNextJointState (  ) 

Definition at line 73 of file llpose.cpp.

References mJointMap, mListIter, and NULL.

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

Here is the caller graph for this function:

LLJointState * LLPose::findJointState ( LLJoint joint  ) 

Definition at line 119 of file llpose.cpp.

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

Referenced by LLKeyframeStandMotion::onInitialize().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 136 of file llpose.cpp.

References mJointMap, and NULL.

BOOL LLPose::addJointState ( const LLPointer< LLJointState > &  jointState  ) 

Definition at line 89 of file llpose.cpp.

References mJointMap, and TRUE.

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

Here is the caller graph for this function:

BOOL LLPose::removeJointState ( const LLPointer< LLJointState > &  jointState  ) 

Definition at line 101 of file llpose.cpp.

References mJointMap, and TRUE.

BOOL LLPose::removeAllJointStates (  ) 

Definition at line 110 of file llpose.cpp.

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

Here is the caller graph for this function:

F32 LLPose::getWeight (  )  const

S32 LLPose::getNumJointStates (  )  const

Definition at line 176 of file llpose.cpp.

References mJointMap, and S32.


Friends And Related Function Documentation

friend class LLPoseBlender [friend]

Definition at line 51 of file llpose.h.


Member Data Documentation

F32 LLPose::mWeight [protected]

Definition at line 58 of file llpose.h.

Referenced by getWeight(), and setWeight().

Definition at line 59 of file llpose.h.

Referenced by getFirstJointState(), and getNextJointState().


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

Generated on Fri May 16 08:59:51 2008 for SecondLife by  doxygen 1.5.5