#include <lleditingmotion.h>
Inheritance diagram for LLEditingMotion:
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, LLMotion::mName, mParentJoint, mShoulderJoint, mWristJoint, and NULL.
Referenced by create().
LLEditingMotion::~LLEditingMotion | ( | ) | [virtual] |
Definition at line 74 of file lleditingmotion.cpp.
Reimplemented from LLMotion.
Definition at line 67 of file lleditingmotion.h.
References LLEditingMotion().
Referenced by LLVOAvatar::LLVOAvatar().
virtual LLMotionBlendType LLEditingMotion::getBlendType | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 89 of file lleditingmotion.h.
References LLMotion::NORMAL_BLEND.
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 BOOL LLEditingMotion::getLoop | ( | ) | [inline, virtual] |
virtual F32 LLEditingMotion::getMinPixelArea | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 92 of file lleditingmotion.h.
References MIN_REQUIRED_PIXEL_AREA_EDITING.
virtual LLJoint::JointPriority LLEditingMotion::getPriority | ( | ) | [inline, virtual] |
BOOL LLEditingMotion::onActivate | ( | ) | [virtual] |
Implements LLMotion.
Definition at line 144 of file lleditingmotion.cpp.
References LLJointState::getJoint(), LLJoint::getPosition(), LLJoint::getRotation(), LLJoint::getWorldPosition(), LLJoint::getWorldRotation(), mElbowJoint, mElbowState, mParentJoint, mParentState, mShoulderJoint, mShoulderState, mWristJoint, mWristOffset, mWristState, LLJoint::setPosition(), LLJoint::setRotation(), and TRUE.
void LLEditingMotion::onDeactivate | ( | ) | [virtual] |
LLMotion::LLMotionInitStatus LLEditingMotion::onInitialize | ( | LLCharacter * | character | ) | [virtual] |
Implements LLMotion.
Definition at line 81 of file lleditingmotion.cpp.
References LLMotion::addJointState(), LLJointState::getJoint(), LLCharacter::getJoint(), LLMotion::getName(), LLJoint::getParent(), LLJoint::getPosition(), LLJoint::getRotation(), LLJoint::getWorldPosition(), LLJoint::getWorldRotation(), llendl, llinfos, llwarns, mCharacter, mElbowJoint, mElbowState, mIKSolver, mParentJoint, mParentState, mShoulderJoint, mShoulderState, mTarget, mTorsoState, mWristJoint, mWristOffset, mWristState, LLJointState::ROT, LLJointSolverRP3::setBAxis(), LLJointState::setJoint(), LLJointSolverRP3::setPoleVector(), LLJoint::setPosition(), LLJoint::setRotation(), LLJointSolverRP3::setupJoints(), LLJointState::setUsage(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
Implements LLMotion.
Definition at line 163 of file lleditingmotion.cpp.
References clamp_rescale(), LLQuaternion::DEFAULT, dot(), F_SQRT2, FALSE, LLCharacter::getAnimationData(), LLCharacter::getCharacterPosition(), LLCriticalDamp::getInterpolant(), LLJointState::getJoint(), LLJoint::getPosition(), LLJoint::getRotation(), LLJoint::getWorldPosition(), LLJoint::getWorldRotation(), LLVector3::isExactlyZero(), 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(), LLJointState::setRotation(), LLJoint::setRotation(), sHandPose, sHandPosePriority, slerp(), LLJointSolverRP3::solve(), target, TRUE, and VZ.
Definition at line 116 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onInitialize(), and onUpdate().
Definition at line 127 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 121 of file lleditingmotion.h.
Referenced by onActivate(), onInitialize(), and onUpdate().
Definition at line 125 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 119 of file lleditingmotion.h.
Referenced by onActivate(), onInitialize(), and onUpdate().
Definition at line 126 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 120 of file lleditingmotion.h.
Referenced by onActivate(), onInitialize(), and onUpdate().
Definition at line 128 of file lleditingmotion.h.
Referenced by LLEditingMotion(), onActivate(), onInitialize(), and onUpdate().
Definition at line 117 of file lleditingmotion.h.
Referenced by onActivate(), onInitialize(), and onUpdate().
Definition at line 122 of file lleditingmotion.h.
Referenced by onActivate(), onInitialize(), and onUpdate().
S32 LLEditingMotion::sHandPose = LLHandMotion::HAND_POSE_RELAXED_R [static] |
S32 LLEditingMotion::sHandPosePriority = 3 [static] |