#include <lleditingmotion.h>
Definition at line 50 of file lleditingmotion.h.
LLEditingMotion::LLEditingMotion | ( | const LLUUID & | id | ) |
Definition at line 57 of file lleditingmotion.cpp.
References LLJoint::addChild(), mCharacter, mElbowJoint, mElbowState, LLMotion::mName, mParentJoint, mParentState, mShoulderJoint, mShoulderState, mTorsoState, mWristJoint, mWristState, and NULL.
Referenced by create().
LLEditingMotion::~LLEditingMotion | ( | ) | [virtual] |
Definition at line 80 of file lleditingmotion.cpp.
Reimplemented from LLMotion.
Definition at line 67 of file lleditingmotion.h.
References LLEditingMotion().
Referenced by LLVOAvatar::LLVOAvatar().
virtual BOOL LLEditingMotion::getLoop | ( | ) | [inline, virtual] |
virtual F32 LLEditingMotion::getDuration | ( | ) | [inline, virtual] |
virtual F32 LLEditingMotion::getEaseInDuration | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 81 of file lleditingmotion.h.
References EDITING_EASEIN_DURATION.
virtual F32 LLEditingMotion::getEaseOutDuration | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 84 of file lleditingmotion.h.
References EDITING_EASEOUT_DURATION.
virtual LLJoint::JointPriority LLEditingMotion::getPriority | ( | ) | [inline, virtual] |
virtual LLMotionBlendType LLEditingMotion::getBlendType | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 89 of file lleditingmotion.h.
References LLMotion::NORMAL_BLEND.
virtual F32 LLEditingMotion::getMinPixelArea | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 92 of file lleditingmotion.h.
References MIN_REQUIRED_PIXEL_AREA_EDITING.
LLMotion::LLMotionInitStatus LLEditingMotion::onInitialize | ( | LLCharacter * | character | ) | [virtual] |
Implements LLMotion.
Definition at line 87 of file lleditingmotion.cpp.
References LLMotion::addJointState(), LLCharacter::getJoint(), LLMotion::getName(), LLJoint::getParent(), llendl, llinfos, llwarns, mCharacter, mElbowJoint, mElbowState, mIKSolver, mParentJoint, mParentState, mShoulderJoint, mShoulderState, mTarget, mTorsoState, mWristJoint, mWristOffset, mWristState, LLJointState::ROT, LLJointSolverRP3::setBAxis(), LLJointSolverRP3::setPoleVector(), LLJoint::setPosition(), LLJoint::setRotation(), LLJointSolverRP3::setupJoints(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
BOOL LLEditingMotion::onActivate | ( | ) | [virtual] |
Implements LLMotion.
Definition at line 150 of file lleditingmotion.cpp.
References mElbowJoint, mElbowState, mParentJoint, mParentState, mShoulderJoint, mShoulderState, mWristJoint, mWristOffset, mWristState, LLJoint::setPosition(), LLJoint::setRotation(), and TRUE.
Implements LLMotion.
Definition at line 169 of file lleditingmotion.cpp.
References clamp_rescale(), LLQuaternion::DEFAULT, dot(), F_SQRT2, FALSE, LLCharacter::getAnimationData(), LLCharacter::getCharacterPosition(), LLCriticalDamp::getInterpolant(), LLJoint::getPosition(), LLJoint::getRotation(), LLVector3::isExactlyZero(), LLQuaternion::isFinite(), llassert, llendl, llerrs, mCharacter, mElbowJoint, mElbowState, mIKSolver, mLastSelectPt, mParentJoint, mParentState, mShoulderJoint, mShoulderState, mTarget, mTorsoState, mWristJoint, mWristOffset, mWristState, LLVector3::normVec(), LLVector3::rotVec(), LLCharacter::setAnimationData(), LLJoint::setPosition(), LLJoint::setRotation(), sHandPose, sHandPosePriority, slerp(), LLJointSolverRP3::solve(), TRUE, and VZ.
void LLEditingMotion::onDeactivate | ( | ) | [virtual] |
Definition at line 116 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onInitialize(), and onUpdate().
Definition at line 117 of file lleditingmotion.h.
Referenced by onActivate(), onInitialize(), and onUpdate().
Definition at line 119 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 120 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 121 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 122 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 123 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onInitialize(), and onUpdate().
Definition at line 125 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 126 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 127 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 128 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
S32 LLEditingMotion::sHandPose = LLHandMotion::HAND_POSE_RELAXED_R [static] |
S32 LLEditingMotion::sHandPosePriority = 3 [static] |