#include <llmotion.h>
Inheritance diagram for LLMotion:
Definition at line 49 of file llmotion.h.
LLMotion::LLMotion | ( | const LLUUID & | id | ) |
Definition at line 50 of file llmotion.cpp.
References F32_MAX, FALSE, LL_CHARACTER_MAX_JOINTS, mActivationTimestamp, mActive, mDeactivateCallback, mFadeWeight, mID, mJointSignature, mResidualWeight, mSendStopTimestamp, mStopped, mStopTimestamp, NULL, and TRUE.
LLMotion::~LLMotion | ( | ) | [virtual] |
Definition at line 72 of file llmotion.cpp.
void LLMotion::activate | ( | ) |
Definition at line 140 of file llmotion.cpp.
References FALSE, mActive, mStopped, onActivate(), and TRUE.
Referenced by LLMotionController::activateMotionInstance().
void LLMotion::addJointState | ( | LLJointState * | jointState | ) | [protected] |
Definition at line 109 of file llmotion.cpp.
References LLPose::addJointState(), LLJointState::getJoint(), LLJoint::getJointNum(), getPriority(), LLJointState::getPriority(), LLJointState::getUsage(), mJointSignature, mPose, LLJointState::POS, LLJointState::ROT, S32, LLJointState::SCALE, and LLJoint::USE_MOTION_PRIORITY.
Referenced by LLPelvisFixMotion::onInitialize(), LLBreatheMotionRot::onInitialize(), LLBodyNoiseMotion::onInitialize(), LLTargetingMotion::onInitialize(), LLFlyAdjustMotion::onInitialize(), LLWalkAdjustMotion::onInitialize(), LLEyeMotion::onInitialize(), LLHeadRotMotion::onInitialize(), LLEditingMotion::onInitialize(), and LLKeyframeMotion::setupPose().
BOOL LLMotion::canDeprecate | ( | ) | [virtual] |
Reimplemented in LLEmote.
Definition at line 160 of file llmotion.cpp.
References TRUE.
Referenced by LLMotionController::startMotion().
Reimplemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeFallMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLKeyframeStandMotion, LLKeyframeWalkMotion, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Definition at line 78 of file llmotion.h.
References NULL.
void LLMotion::deactivate | ( | ) |
Definition at line 150 of file llmotion.cpp.
References f, FALSE, mActive, mDeactivateCallback, mDeactivateCallbackUserData, mPose, onDeactivate(), and LLPose::setWeight().
Referenced by LLMotionController::deactivateMotionInstance(), and LLMotionController::flushAllMotions().
void LLMotion::fadeIn | ( | ) |
Definition at line 94 of file llmotion.cpp.
References f, LLCriticalDamp::getInterpolant(), lerp(), and mFadeWeight.
Referenced by LLMotionController::updateMotionsByType().
void LLMotion::fadeOut | ( | ) |
Definition at line 79 of file llmotion.cpp.
References f, LLCriticalDamp::getInterpolant(), lerp(), and mFadeWeight.
Referenced by LLMotionController::updateMotionsByType().
virtual LLMotionBlendType LLMotion::getBlendType | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLPoseBlender::addMotion(), and LLMotionController::updateMotionsByType().
virtual F32 LLMotion::getDuration | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLMotionController::activateMotionInstance(), LLAgent::changeCameraToCustomizeAvatar(), and LLFloaterAnimPreview::onSliderMove().
virtual F32 LLMotion::getEaseInDuration | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeFallMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLMotionController::updateMotionsByType().
virtual F32 LLMotion::getEaseOutDuration | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLMotionController::activateMotionInstance(), and LLMotionController::updateMotionsByType().
F32 LLMotion::getFadeWeight | ( | ) | const [inline] |
Definition at line 95 of file llmotion.h.
References mFadeWeight.
Referenced by LLMotionController::startMotion(), and LLMotionController::updateMotionsByType().
const LLUUID& LLMotion::getID | ( | ) | const [inline] |
Definition at line 86 of file llmotion.h.
References mID.
Referenced by LLMotionController::deprecateMotionInstance(), LLKeyframeMotion::deserialize(), LLMotionController::flushAllMotions(), LLFloaterAnimPreview::onBtnOK(), LLKeyframeMotion::onInitialize(), LLKeyframeMotion::onLoadComplete(), LLAgent::requestStopMotion(), and LLMotionController::updateMotion().
virtual BOOL LLMotion::getLoop | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLMotionController::activateMotionInstance().
virtual F32 LLMotion::getMinPixelArea | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLMotionController::updateMotionsByType().
const std::string& LLMotion::getName | ( | ) | const [inline] |
Definition at line 81 of file llmotion.h.
References mName.
Referenced by LLKeyframeMotionParam::loadMotions(), LLFlyAdjustMotion::onInitialize(), LLWalkAdjustMotion::onInitialize(), LLKeyframeStandMotion::onInitialize(), LLKeyframeMotion::onInitialize(), LLKeyframeFallMotion::onInitialize(), LLEyeMotion::onInitialize(), LLHeadRotMotion::onInitialize(), LLEditingMotion::onInitialize(), and LLKeyframeMotion::onLoadComplete().
virtual LLPose* LLMotion::getPose | ( | ) | [inline, virtual] |
Reimplemented in LLKeyframeMotionParam.
Definition at line 89 of file llmotion.h.
References mPose.
Referenced by LLMotionController::activateMotionInstance(), LLPoseBlender::addMotion(), LLKeyframeStandMotion::onInitialize(), and LLMotionController::updateMotionsByType().
virtual LLJoint::JointPriority LLMotion::getPriority | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by addJointState(), and LLPoseBlender::addMotion().
F32 LLMotion::getStopTime | ( | ) | const [inline] |
Definition at line 97 of file llmotion.h.
References mStopTimestamp.
Referenced by LLMotionController::startMotion(), and LLMotionController::updateMotionsByType().
BOOL LLMotion::isActive | ( | ) | [inline] |
Definition at line 111 of file llmotion.h.
References mActive.
Referenced by LLMotionController::isMotionActive().
BOOL LLMotion::isBlending | ( | ) |
Definition at line 132 of file llmotion.cpp.
References LLPose::getWeight(), and mPose.
Referenced by LLMotionController::startMotion().
BOOL LLMotion::isStopped | ( | ) | const [inline] |
Definition at line 101 of file llmotion.h.
References mStopped.
Referenced by LLMotionController::stopMotionInstance(), LLHUDEffectLookAt::update(), LLMotionController::updateMotion(), and LLMotionController::updateMotionsByType().
virtual BOOL LLMotion::onActivate | ( | ) | [protected, pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeFallMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLKeyframeStandMotion, LLKeyframeWalkMotion, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by activate().
virtual void LLMotion::onDeactivate | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLKeyframeStandMotion, LLKeyframeWalkMotion, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by deactivate().
virtual LLMotionInitStatus LLMotion::onInitialize | ( | LLCharacter * | character | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeFallMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLKeyframeStandMotion, LLKeyframeWalkMotion, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLMotionController::createMotion(), and LLMotionController::updateMotion().
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeFallMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLKeyframeStandMotion, LLKeyframeWalkMotion, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLMotionController::activateMotionInstance(), and LLMotionController::updateMotionsByType().
Definition at line 126 of file llmotion.cpp.
References mDeactivateCallback, and mDeactivateCallbackUserData.
Referenced by LLPreviewAnim::auditionAnim(), LLPreviewAnim::onClose(), and LLPreviewAnim::playAnim().
void LLMotion::setName | ( | const std::string & | name | ) | [inline] |
Definition at line 84 of file llmotion.h.
References mName.
Referenced by LLKeyframeMotionParam::addKeyframeMotion(), LLMotionController::createMotion(), LLFloaterAnimPreview::onCommitName(), and LLFloaterAnimPreview::postBuild().
Definition at line 103 of file llmotion.h.
References mStopped.
Referenced by LLMotionController::activateMotionInstance(), and LLMotionController::stopMotionInstance().
Reimplemented in LLKeyframeMotion.
Definition at line 99 of file llmotion.h.
References mStopped, mStopTimestamp, and TRUE.
Referenced by LLKeyframeMotion::setStopTime(), and LLMotionController::stopMotionInstance().
Definition at line 181 of file llmotion.h.
Referenced by LLMotionController::activateMotionInstance(), LLMotionController::flushAllMotions(), LLMotion(), LLFloaterAnimPreview::onSliderMove(), LLKeyframeMotion::setStopTime(), and LLMotionController::updateMotionsByType().
BOOL LLMotion::mActive [protected] |
Definition at line 171 of file llmotion.h.
Referenced by activate(), deactivate(), isActive(), and LLMotion().
void(* LLMotion::mDeactivateCallback)(void *data) |
Referenced by deactivate(), LLMotion(), and setDeactivateCallback().
Definition at line 185 of file llmotion.h.
Referenced by fadeIn(), fadeOut(), getFadeWeight(), and LLMotion().
Definition at line 179 of file llmotion.h.
Referenced by getID(), LLMotion(), and LLKeyframeMotion::onInitialize().
Definition at line 186 of file llmotion.h.
Referenced by addJointState(), LLEmote::LLEmote(), LLHandMotion::LLHandMotion(), LLMotion(), and LLMotionController::updateMotionsByType().
std::string LLMotion::mName |
Definition at line 178 of file llmotion.h.
Referenced by getName(), LLBodyNoiseMotion::LLBodyNoiseMotion(), LLBreatheMotionRot::LLBreatheMotionRot(), LLEditingMotion::LLEditingMotion(), LLEyeMotion::LLEyeMotion(), LLFlyAdjustMotion::LLFlyAdjustMotion(), LLHandMotion::LLHandMotion(), LLHeadRotMotion::LLHeadRotMotion(), LLPelvisFixMotion::LLPelvisFixMotion(), LLTargetingMotion::LLTargetingMotion(), LLWalkAdjustMotion::LLWalkAdjustMotion(), LLEmote::onActivate(), and setName().
LLPose LLMotion::mPose [protected] |
Definition at line 169 of file llmotion.h.
Referenced by addJointState(), deactivate(), getPose(), isBlending(), LLKeyframeStandMotion::onUpdate(), and LLEmote::onUpdate().
Definition at line 184 of file llmotion.h.
Referenced by LLMotionController::activateMotionInstance(), LLMotion(), and LLMotionController::updateMotionsByType().
Definition at line 183 of file llmotion.h.
Referenced by LLMotionController::activateMotionInstance(), LLMotion(), LLFloaterAnimPreview::onSliderMove(), LLKeyframeMotion::setLoop(), and LLMotionController::updateMotionsByType().
BOOL LLMotion::mStopped [protected] |
Definition at line 170 of file llmotion.h.
Referenced by activate(), isStopped(), LLMotion(), LLKeyframeMotion::onUpdate(), setStopped(), and setStopTime().
Definition at line 182 of file llmotion.h.
Referenced by getStopTime(), LLMotion(), LLFloaterAnimPreview::onSliderMove(), setStopTime(), and LLKeyframeMotion::setStopTime().