#include <lltargetingmotion.h>
Inheritance diagram for LLTargetingMotion:


| Public Member Functions | |
| LLTargetingMotion (const LLUUID &id) | |
| virtual | ~LLTargetingMotion () | 
| virtual BOOL | getLoop () | 
| virtual F32 | getDuration () | 
| virtual F32 | getEaseInDuration () | 
| virtual F32 | getEaseOutDuration () | 
| virtual LLJoint::JointPriority | getPriority () | 
| virtual LLMotionBlendType | getBlendType () | 
| virtual F32 | getMinPixelArea () | 
| 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 | 
| LLJointState | mTorsoState | 
| LLJoint * | mPelvisJoint | 
| LLJoint * | mTorsoJoint | 
| LLJoint * | mRightHandJoint | 
Definition at line 49 of file lltargetingmotion.h.
| LLTargetingMotion::LLTargetingMotion | ( | const LLUUID & | id | ) | 
Definition at line 54 of file lltargetingmotion.cpp.
References mCharacter, LLMotion::mName, and NULL.
Referenced by create().
| LLTargetingMotion::~LLTargetingMotion | ( | ) |  [virtual] | 
Definition at line 65 of file lltargetingmotion.cpp.
Reimplemented from LLMotion.
Definition at line 66 of file lltargetingmotion.h.
References LLTargetingMotion().
Referenced by LLVOAvatar::LLVOAvatar().
| virtual LLMotionBlendType LLTargetingMotion::getBlendType | ( | ) |  [inline, virtual] | 
Implements LLMotion.
Definition at line 88 of file lltargetingmotion.h.
References LLMotion::ADDITIVE_BLEND.
| virtual F32 LLTargetingMotion::getDuration | ( | ) |  [inline, virtual] | 
| virtual F32 LLTargetingMotion::getEaseInDuration | ( | ) |  [inline, virtual] | 
Implements LLMotion.
Definition at line 80 of file lltargetingmotion.h.
References TARGETING_EASEIN_DURATION.
| virtual F32 LLTargetingMotion::getEaseOutDuration | ( | ) |  [inline, virtual] | 
Implements LLMotion.
Definition at line 83 of file lltargetingmotion.h.
References TARGETING_EASEOUT_DURATION.
| virtual BOOL LLTargetingMotion::getLoop | ( | ) |  [inline, virtual] | 
| virtual F32 LLTargetingMotion::getMinPixelArea | ( | ) |  [inline, virtual] | 
Implements LLMotion.
Definition at line 91 of file lltargetingmotion.h.
References MIN_REQUIRED_PIXEL_AREA_TARGETING.
| virtual LLJoint::JointPriority LLTargetingMotion::getPriority | ( | ) |  [inline, virtual] | 
Implements LLMotion.
Definition at line 86 of file lltargetingmotion.h.
References TARGETING_PRIORITY.
| BOOL LLTargetingMotion::onActivate | ( | ) |  [virtual] | 
| void LLTargetingMotion::onDeactivate | ( | ) |  [virtual] | 
| LLMotion::LLMotionInitStatus LLTargetingMotion::onInitialize | ( | LLCharacter * | character | ) |  [virtual] | 
Implements LLMotion.
Definition at line 72 of file lltargetingmotion.cpp.
References LLMotion::addJointState(), LLCharacter::getJoint(), llendl, llwarns, mCharacter, mPelvisJoint, mRightHandJoint, mTorsoJoint, mTorsoState, LLJointState::ROT, LLJointState::setJoint(), LLJointState::setUsage(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
Implements LLMotion.
Definition at line 110 of file lltargetingmotion.cpp.
References LLQuaternion::constrain(), f, F_PI_BY_TWO, LLCharacter::getAnimationData(), LLCriticalDamp::getInterpolant(), LLJoint::getRotation(), LLJointState::getRotation(), LLJoint::getWorldRotation(), left, mCharacter, mRightHandJoint, mTorsoJoint, mTorsoState, nlerp(), LLVector3::normVec(), LLJointState::setRotation(), LLVector3::setVec(), target, TORSO_TARGET_HALF_LIFE, and TRUE.
Definition at line 113 of file lltargetingmotion.h.
Referenced by LLTargetingMotion(), onInitialize(), and onUpdate().
 1.4.7
 1.4.7