#include <llheadrotmotion.h>
Inheritance diagram for LLHeadRotMotion:


| Public Member Functions | |
| LLHeadRotMotion (const LLUUID &id) | |
| virtual | ~LLHeadRotMotion () | 
| virtual BOOL | getLoop () | 
| virtual F32 | getDuration () | 
| virtual F32 | getEaseInDuration () | 
| virtual F32 | getEaseOutDuration () | 
| virtual F32 | getMinPixelArea () | 
| virtual LLJoint::JointPriority | getPriority () | 
| virtual LLMotionBlendType | getBlendType () | 
| virtual LLMotionInitStatus | onInitialize (LLCharacter *character) | 
| virtual BOOL | onActivate () | 
| virtual BOOL | onUpdate (F32 time, U8 *joint_mask) | 
| virtual void | onDeactivate () | 
| Static Public Member Functions | |
| static LLMotion * | create (const LLUUID &id) | 
| Public Attributes | |
| LLCharacter * | mCharacter | 
| LLJoint * | mTorsoJoint | 
| LLJoint * | mHeadJoint | 
| LLJoint * | mRootJoint | 
| LLJoint * | mPelvisJoint | 
| LLJointState | mTorsoState | 
| LLJointState | mNeckState | 
| LLJointState | mHeadState | 
| LLQuaternion | mLastHeadRot | 
Definition at line 47 of file llheadrotmotion.h.
| LLHeadRotMotion::LLHeadRotMotion | ( | const LLUUID & | id | ) | 
Definition at line 78 of file llheadrotmotion.cpp.
References LLMotion::mName.
Referenced by create().
| LLHeadRotMotion::~LLHeadRotMotion | ( | ) |  [virtual] | 
Definition at line 92 of file llheadrotmotion.cpp.
Reimplemented from LLMotion.
Definition at line 64 of file llheadrotmotion.h.
References LLHeadRotMotion().
Referenced by LLVOAvatar::LLVOAvatar().
| virtual LLMotionBlendType LLHeadRotMotion::getBlendType | ( | ) |  [inline, virtual] | 
Implements LLMotion.
Definition at line 89 of file llheadrotmotion.h.
References LLMotion::NORMAL_BLEND.
| virtual F32 LLHeadRotMotion::getDuration | ( | ) |  [inline, virtual] | 
| virtual F32 LLHeadRotMotion::getEaseInDuration | ( | ) |  [inline, virtual] | 
| virtual F32 LLHeadRotMotion::getEaseOutDuration | ( | ) |  [inline, virtual] | 
| virtual BOOL LLHeadRotMotion::getLoop | ( | ) |  [inline, virtual] | 
| virtual F32 LLHeadRotMotion::getMinPixelArea | ( | ) |  [inline, virtual] | 
Implements LLMotion.
Definition at line 84 of file llheadrotmotion.h.
References MIN_REQUIRED_PIXEL_AREA_HEAD_ROT.
| virtual LLJoint::JointPriority LLHeadRotMotion::getPriority | ( | ) |  [inline, virtual] | 
Implements LLMotion.
Definition at line 87 of file llheadrotmotion.h.
References LLJoint::MEDIUM_PRIORITY.
| BOOL LLHeadRotMotion::onActivate | ( | ) |  [virtual] | 
| void LLHeadRotMotion::onDeactivate | ( | ) |  [virtual] | 
| LLMotion::LLMotionInitStatus LLHeadRotMotion::onInitialize | ( | LLCharacter * | character | ) |  [virtual] | 
Implements LLMotion.
Definition at line 99 of file llheadrotmotion.cpp.
References LLMotion::addJointState(), LLJointState::getJoint(), LLCharacter::getJoint(), LLMotion::getName(), llendl, llinfos, LLQuaternion::loadIdentity(), mCharacter, mHeadJoint, mHeadState, mLastHeadRot, mNeckState, mPelvisJoint, mRootJoint, mTorsoJoint, mTorsoState, LLJointState::ROT, LLJointState::setJoint(), LLJointState::setUsage(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
Implements LLMotion.
Definition at line 180 of file llheadrotmotion.cpp.
References LLQuaternion::constrain(), LLQuaternion::DEFAULT, f, LLCharacter::getAnimationData(), LLCriticalDamp::getInterpolant(), LLJointState::getJoint(), LLJoint::getParent(), LLJointState::getRotation(), LLJoint::getWorldRotation(), HEAD_LOOKAT_LAG_HALF_LIFE, HEAD_ROTATION_CONSTRAINT, left, lerp(), mCharacter, mHeadState, MIN_HEAD_LOOKAT_DISTANCE, mLastHeadRot, mNeckState, mPelvisJoint, mRootJoint, mTorsoState, NECK_LAG, nlerp(), LLVector3::normVec(), LLJointState::setRotation(), TORSO_LAG, TORSO_LOOKAT_LAG_HALF_LIFE, TRUE, and VZ.
 1.4.7
 1.4.7