#include <llmotion.h>
Definition at line 49 of file llmotion.h.
LLMotion::LLMotion | ( | const LLUUID & | id | ) |
Definition at line 50 of file llmotion.cpp.
References i, LL_CHARACTER_MAX_JOINTS, and mJointSignature.
LLMotion::~LLMotion | ( | ) | [virtual] |
Definition at line 70 of file llmotion.cpp.
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.
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(), LLEyeMotion::onInitialize(), LLHeadRotMotion::onInitialize(), LLEditingMotion::onInitialize(), LLKeyframeMotion::onLoadComplete(), and LLVOAvatar::updateCharacter().
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().
const LLUUID& LLMotion::getID | ( | ) | const [inline] |
Definition at line 86 of file llmotion.h.
References mID.
Referenced by LLMotionController::addLoadedMotion(), LLMotionController::deprecateMotionInstance(), LLKeyframeMotion::deserialize(), LLMotionController::flushAllMotions(), LLFloaterAnimPreview::onBtnOK(), LLKeyframeMotion::onInitialize(), LLKeyframeMotion::onLoadComplete(), LLAgent::requestStopMotion(), LLVOAvatar::updateCharacter(), and LLMotionController::updateMotion().
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().
void LLMotion::fadeOut | ( | ) |
Definition at line 77 of file llmotion.cpp.
References LLCriticalDamp::getInterpolant(), lerp(), and mFadeWeight.
Referenced by LLMotionController::updateMotionsByType().
void LLMotion::fadeIn | ( | ) |
Definition at line 92 of file llmotion.cpp.
References LLCriticalDamp::getInterpolant(), lerp(), and mFadeWeight.
Referenced by LLMotionController::updateMotionsByType().
F32 LLMotion::getFadeWeight | ( | ) | const [inline] |
Definition at line 95 of file llmotion.h.
References mFadeWeight.
Referenced by LLMotionController::startMotion(), and LLMotionController::updateMotionsByType().
F32 LLMotion::getStopTime | ( | ) | const [inline] |
Definition at line 97 of file llmotion.h.
References mStopTimestamp.
Referenced by LLMotionController::setTimeStep(), LLMotionController::startMotion(), and LLMotionController::updateMotionsByType().
virtual void LLMotion::setStopTime | ( | F32 | time | ) | [inline, virtual] |
Reimplemented in LLKeyframeMotion.
Definition at line 99 of file llmotion.h.
References mStopped, mStopTimestamp, and TRUE.
Referenced by LLKeyframeMotion::setStopTime(), LLMotionController::setTimeStep(), and LLMotionController::stopMotionInstance().
BOOL LLMotion::isStopped | ( | ) | const [inline] |
Definition at line 101 of file llmotion.h.
References mStopped.
Referenced by LLMotionController::setTimeStep(), LLMotionController::stopMotionInstance(), LLHUDEffectLookAt::update(), LLMotionController::updateMotion(), and LLMotionController::updateMotionsByType().
void LLMotion::setStopped | ( | BOOL | stopped | ) | [inline] |
Definition at line 103 of file llmotion.h.
References mStopped.
Referenced by LLMotionController::activateMotionInstance(), LLMotionController::setTimeStep(), and LLMotionController::stopMotionInstance().
BOOL LLMotion::isBlending | ( | ) |
Definition at line 130 of file llmotion.cpp.
References LLPose::getWeight(), and mPose.
Referenced by LLMotionController::startMotion().
void LLMotion::activate | ( | ) |
Definition at line 138 of file llmotion.cpp.
References FALSE, mActive, mStopped, onActivate(), and TRUE.
Referenced by LLMotionController::activateMotionInstance().
void LLMotion::deactivate | ( | ) |
Definition at line 148 of file llmotion.cpp.
References FALSE, mActive, mDeactivateCallback, mDeactivateCallbackUserData, mPose, onDeactivate(), and LLPose::setWeight().
Referenced by LLMotionController::deactivateAllMotions(), LLMotionController::deactivateMotionInstance(), and LLMotionController::flushAllMotions().
BOOL LLMotion::isActive | ( | ) | [inline] |
Definition at line 111 of file llmotion.h.
References mActive.
Referenced by LLMotionController::isMotionActive().
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::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().
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(), LLPoseBlender::addMotion(), and LLVOAvatar::updateCharacter().
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::getMinPixelArea | ( | ) | [pure virtual] |
Implemented in LLEditingMotion, LLHandMotion, LLHeadRotMotion, LLEyeMotion, LLKeyframeMotion, LLKeyframeMotionParam, LLWalkAdjustMotion, LLFlyAdjustMotion, LLTestMotion, LLNullMotion, LLTargetingMotion, LLEmote, LLBodyNoiseMotion, LLBreatheMotionRot, and LLPelvisFixMotion.
Referenced by LLVOAvatar::updateCharacter(), and LLMotionController::updateMotionsByType().
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().
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().
BOOL LLMotion::canDeprecate | ( | ) | [virtual] |
Reimplemented in LLHandMotion, and LLEmote.
Definition at line 158 of file llmotion.cpp.
References TRUE.
Referenced by LLMotionController::startMotion().
void LLMotion::setDeactivateCallback | ( | void(*)(void *) | cb, | |
void * | userdata | |||
) |
Definition at line 124 of file llmotion.cpp.
References mDeactivateCallback, and mDeactivateCallbackUserData.
Referenced by LLPreviewAnim::auditionAnim(), LLPreviewAnim::onClose(), and LLPreviewAnim::playAnim().
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().
void LLMotion::addJointState | ( | const LLPointer< LLJointState > & | jointState | ) | [protected] |
Definition at line 107 of file llmotion.cpp.
References LLPose::addJointState(), getPriority(), mJointSignature, mPose, LLJointState::POS, LLJointState::ROT, S32, LLJointState::SCALE, indra::util::llmanifest::usage(), 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().
LLPose LLMotion::mPose [protected] |
Definition at line 169 of file llmotion.h.
Referenced by addJointState(), deactivate(), getPose(), isBlending(), LLEmote::onUpdate(), and LLKeyframeStandMotion::onUpdate().
BOOL LLMotion::mStopped [protected] |
Definition at line 170 of file llmotion.h.
Referenced by activate(), isStopped(), LLKeyframeMotion::onUpdate(), setStopped(), and setStopTime().
BOOL LLMotion::mActive [protected] |
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().
Definition at line 179 of file llmotion.h.
Referenced by getID(), and LLKeyframeMotion::onInitialize().
Definition at line 181 of file llmotion.h.
Referenced by LLMotionController::activateMotionInstance(), LLMotionController::flushAllMotions(), LLFloaterAnimPreview::onSliderMove(), LLKeyframeMotion::setStopTime(), LLMotionController::setTimeStep(), and LLMotionController::updateMotionsByType().
Definition at line 182 of file llmotion.h.
Referenced by getStopTime(), LLFloaterAnimPreview::onSliderMove(), setStopTime(), and LLKeyframeMotion::setStopTime().
Definition at line 183 of file llmotion.h.
Referenced by LLMotionController::activateMotionInstance(), LLFloaterAnimPreview::onSliderMove(), LLKeyframeMotion::setLoop(), LLMotionController::setTimeStep(), and LLMotionController::updateMotionsByType().
Definition at line 184 of file llmotion.h.
Referenced by LLMotionController::activateMotionInstance(), and LLMotionController::updateMotionsByType().
Definition at line 186 of file llmotion.h.
Referenced by addJointState(), LLEmote::LLEmote(), LLHandMotion::LLHandMotion(), LLMotion(), and LLMotionController::updateMotionsByType().
void(* LLMotion::mDeactivateCallback)(void *data) |
Referenced by deactivate(), and setDeactivateCallback().