#include <llkeyframemotionparam.h>
Definition at line 51 of file llkeyframemotionparam.h.
typedef std::pair<LLMotion*, F32> LLKeyframeMotionParam::ParameterizedMotion [protected] |
Definition at line 129 of file llkeyframemotionparam.h.
typedef std::set< ParameterizedMotion, compare_motions > LLKeyframeMotionParam::motion_list_t [protected] |
Definition at line 157 of file llkeyframemotionparam.h.
typedef std::map<std::string, motion_list_t > LLKeyframeMotionParam::motion_map_t [protected] |
Definition at line 158 of file llkeyframemotionparam.h.
LLKeyframeMotionParam::LLKeyframeMotionParam | ( | const LLUUID & | id | ) |
Definition at line 54 of file llkeyframemotionparam.cpp.
References LLJoint::LOW_PRIORITY, mCharacter, mDefaultKeyframeMotion, mDuration, mEaseInDuration, mEaseOutDuration, mPriority, and NULL.
Referenced by create().
LLKeyframeMotionParam::~LLKeyframeMotionParam | ( | ) | [virtual] |
Reimplemented from LLMotion.
Definition at line 68 of file llkeyframemotionparam.h.
References LLKeyframeMotionParam().
virtual BOOL LLKeyframeMotionParam::getLoop | ( | ) | [inline, virtual] |
virtual F32 LLKeyframeMotionParam::getDuration | ( | ) | [inline, virtual] |
virtual F32 LLKeyframeMotionParam::getEaseInDuration | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 86 of file llkeyframemotionparam.h.
References mEaseInDuration.
virtual F32 LLKeyframeMotionParam::getEaseOutDuration | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 91 of file llkeyframemotionparam.h.
References mEaseOutDuration.
virtual LLJoint::JointPriority LLKeyframeMotionParam::getPriority | ( | ) | [inline, virtual] |
virtual LLMotionBlendType LLKeyframeMotionParam::getBlendType | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 100 of file llkeyframemotionparam.h.
References LLMotion::NORMAL_BLEND.
virtual F32 LLKeyframeMotionParam::getMinPixelArea | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 103 of file llkeyframemotionparam.h.
References MIN_REQUIRED_PIXEL_AREA_KEYFRAME.
LLMotion::LLMotionInitStatus LLKeyframeMotionParam::onInitialize | ( | LLCharacter * | character | ) | [virtual] |
Implements LLMotion.
Definition at line 89 of file llkeyframemotionparam.cpp.
References LLPose::addJointState(), LLPoseBlender::addMotion(), LLPoseBlender::getBlendedPose(), LLPose::getFirstJointState(), LLPose::getNextJointState(), loadMotions(), mCharacter, mDuration, mEaseInDuration, mEaseOutDuration, mParameterizedMotions, mPoseBlender, mPriority, LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
BOOL LLKeyframeMotionParam::onActivate | ( | ) | [virtual] |
Implements LLMotion.
Definition at line 145 of file llkeyframemotionparam.cpp.
References mParameterizedMotions, and TRUE.
Implements LLMotion.
Definition at line 164 of file llkeyframemotionparam.cpp.
References LLPoseBlender::blendAndApply(), LLCharacter::getAnimationData(), LLPoseBlender::getBlendedPose(), LLPose::getWeight(), llclamp(), llendl, llinfos, llwarns, mCharacter, mParameterizedMotions, mPoseBlender, NULL, LLPose::setWeight(), and TRUE.
void LLKeyframeMotionParam::onDeactivate | ( | ) | [virtual] |
Implements LLMotion.
Definition at line 284 of file llkeyframemotionparam.cpp.
References mParameterizedMotions.
virtual LLPose* LLKeyframeMotionParam::getPose | ( | ) | [inline, virtual] |
Reimplemented from LLMotion.
Definition at line 123 of file llkeyframemotionparam.h.
References LLPoseBlender::getBlendedPose(), and mPoseBlender.
BOOL LLKeyframeMotionParam::addKeyframeMotion | ( | char * | name, | |
const LLUUID & | id, | |||
char * | param, | |||
F32 | value | |||
) | [protected] |
Definition at line 301 of file llkeyframemotionparam.cpp.
References LLCharacter::createMotion(), FALSE, mCharacter, mParameterizedMotions, LLMotion::setName(), and TRUE.
Referenced by loadMotions().
void LLKeyframeMotionParam::setDefaultKeyframeMotion | ( | char * | name | ) | [protected] |
Definition at line 322 of file llkeyframemotionparam.cpp.
References mDefaultKeyframeMotion, and mParameterizedMotions.
Referenced by loadMotions().
static BOOL LLKeyframeMotionParam::sortFunc | ( | ParameterizedMotion * | new_motion, | |
ParameterizedMotion * | tested_motion | |||
) | [static, protected] |
BOOL LLKeyframeMotionParam::loadMotions | ( | ) | [protected] |
Definition at line 342 of file llkeyframemotionparam.cpp.
References addKeyframeMotion(), indra::ipc::tokenstream::EOF, FALSE, gAnimLibrary, gDirUtilp, LLCharacter::getAnimationPrefix(), LLDir::getExpandedFilename(), LLMotion::getName(), ll_apr_file_open(), LL_APR_R, LL_MAX_PATH, LL_PATH_MOTIONS, llassert, llendl, llinfos, mCharacter, p, S32, setDefaultKeyframeMotion(), LLAnimationLibrary::stringToAnimState(), and TRUE.
Referenced by onInitialize().
Definition at line 159 of file llkeyframemotionparam.h.
Referenced by addKeyframeMotion(), onActivate(), onDeactivate(), onInitialize(), onUpdate(), setDefaultKeyframeMotion(), and ~LLKeyframeMotionParam().
LLMotion* LLKeyframeMotionParam::mDefaultKeyframeMotion [protected] |
Definition at line 160 of file llkeyframemotionparam.h.
Referenced by LLKeyframeMotionParam(), and setDefaultKeyframeMotion().
LLCharacter* LLKeyframeMotionParam::mCharacter [protected] |
Definition at line 161 of file llkeyframemotionparam.h.
Referenced by addKeyframeMotion(), LLKeyframeMotionParam(), loadMotions(), onInitialize(), and onUpdate().
LLPoseBlender LLKeyframeMotionParam::mPoseBlender [protected] |
Definition at line 162 of file llkeyframemotionparam.h.
Referenced by getPose(), onInitialize(), and onUpdate().
F32 LLKeyframeMotionParam::mEaseInDuration [protected] |
Definition at line 164 of file llkeyframemotionparam.h.
Referenced by getEaseInDuration(), LLKeyframeMotionParam(), and onInitialize().
F32 LLKeyframeMotionParam::mEaseOutDuration [protected] |
Definition at line 165 of file llkeyframemotionparam.h.
Referenced by getEaseOutDuration(), LLKeyframeMotionParam(), and onInitialize().
F32 LLKeyframeMotionParam::mDuration [protected] |
Definition at line 166 of file llkeyframemotionparam.h.
Referenced by getDuration(), LLKeyframeMotionParam(), and onInitialize().
Definition at line 167 of file llkeyframemotionparam.h.
Referenced by getPriority(), LLKeyframeMotionParam(), and onInitialize().
LLUUID LLKeyframeMotionParam::mTransactionID [protected] |
Definition at line 169 of file llkeyframemotionparam.h.