#include <llpose.h>
Collaboration diagram for LLPose:
Public Member Functions | |
LLJointState * | getFirstJointState () |
LLJointState * | getNextJointState () |
LLJointState * | findJointState (LLJoint *joint) |
LLJointState * | findJointState (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 |
Definition at line 51 of file llpose.h.
typedef std::map<std::string, 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.
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 | ) |
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 |
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 | ( | ) |
BOOL LLPose::removeJointState | ( | LLJointState * | jointState | ) |
Definition at line 101 of file llpose.cpp.
References LLJointState::getJoint(), LLJoint::getName(), mJointMap, and TRUE.
Definition at line 153 of file llpose.cpp.
References mJointMap, and mWeight.
Referenced by LLMotion::deactivate(), LLKeyframeMotionParam::onUpdate(), and LLMotionController::updateMotionsByType().
friend class LLPoseBlender [friend] |
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] |