#include <llpose.h>
Public Member Functions | |
| LLJointState * | getFirstJointState () |
| LLJointState * | getNextJointState () |
| LLJointState * | findJointState (LLJoint *joint) |
| LLJointState * | findJointState (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 |
Definition at line 49 of file llpose.h.
typedef std::map<std::string, LLPointer<LLJointState> > LLPose::joint_map [protected] |
typedef joint_map::iterator LLPose::joint_map_iterator [protected] |
typedef joint_map::value_type LLPose::joint_map_value_type [protected] |
| LLPose::~LLPose | ( | ) |
Definition at line 50 of file llpose.cpp.
| 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().

| 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::findJointState | ( | const std::string & | name | ) |
| 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().

| BOOL LLPose::removeJointState | ( | const LLPointer< LLJointState > & | jointState | ) |
| BOOL LLPose::removeAllJointStates | ( | ) |
| 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().

| F32 LLPose::getWeight | ( | ) | const |
Definition at line 168 of file llpose.cpp.
References mWeight.
Referenced by LLMotionController::activateMotionInstance(), LLMotion::isBlending(), LLEmote::onUpdate(), LLKeyframeStandMotion::onUpdate(), LLKeyframeMotionParam::onUpdate(), and LLMotionController::updateMotionsByType().

| S32 LLPose::getNumJointStates | ( | ) | const |
friend class LLPoseBlender [friend] |
joint_map LLPose::mJointMap [protected] |
Definition at line 57 of file llpose.h.
Referenced by addJointState(), findJointState(), getFirstJointState(), getNextJointState(), getNumJointStates(), removeAllJointStates(), removeJointState(), and setWeight().
F32 LLPose::mWeight [protected] |
joint_map_iterator LLPose::mListIter [protected] |
Definition at line 59 of file llpose.h.
Referenced by getFirstJointState(), and getNextJointState().
1.5.5