LLFlyAdjustMotion Class Reference

#include <llkeyframewalkmotion.h>

Inheritance diagram for LLFlyAdjustMotion:

Inheritance graph
[legend]
Collaboration diagram for LLFlyAdjustMotion:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLFlyAdjustMotion (const LLUUID &id)
virtual LLMotionInitStatus onInitialize (LLCharacter *character)
virtual BOOL onActivate ()
virtual void onDeactivate ()
virtual BOOL onUpdate (F32 time, U8 *joint_mask)
virtual LLJoint::JointPriority getPriority ()
virtual BOOL getLoop ()
virtual F32 getDuration ()
virtual F32 getEaseInDuration ()
virtual F32 getEaseOutDuration ()
virtual F32 getMinPixelArea ()
virtual LLMotionBlendType getBlendType ()

Static Public Member Functions

static LLMotioncreate (const LLUUID &id)

Protected Attributes

LLCharactermCharacter
LLJointState mPelvisState
F32 mRoll

Detailed Description

Definition at line 140 of file llkeyframewalkmotion.h.


Constructor & Destructor Documentation

LLFlyAdjustMotion::LLFlyAdjustMotion ( const LLUUID id  )  [inline]

Definition at line 144 of file llkeyframewalkmotion.h.

References LLMotion::mName.

Referenced by create().


Member Function Documentation

static LLMotion* LLFlyAdjustMotion::create ( const LLUUID id  )  [inline, static]

Reimplemented from LLMotion.

Definition at line 153 of file llkeyframewalkmotion.h.

References LLFlyAdjustMotion().

Referenced by LLVOAvatar::LLVOAvatar().

virtual LLMotionBlendType LLFlyAdjustMotion::getBlendType (  )  [inline, virtual]

Implements LLMotion.

Definition at line 169 of file llkeyframewalkmotion.h.

References LLMotion::ADDITIVE_BLEND.

virtual F32 LLFlyAdjustMotion::getDuration (  )  [inline, virtual]

Implements LLMotion.

Definition at line 165 of file llkeyframewalkmotion.h.

virtual F32 LLFlyAdjustMotion::getEaseInDuration (  )  [inline, virtual]

Implements LLMotion.

Definition at line 166 of file llkeyframewalkmotion.h.

virtual F32 LLFlyAdjustMotion::getEaseOutDuration (  )  [inline, virtual]

Implements LLMotion.

Definition at line 167 of file llkeyframewalkmotion.h.

virtual BOOL LLFlyAdjustMotion::getLoop (  )  [inline, virtual]

Implements LLMotion.

Definition at line 164 of file llkeyframewalkmotion.h.

References TRUE.

virtual F32 LLFlyAdjustMotion::getMinPixelArea (  )  [inline, virtual]

Implements LLMotion.

Definition at line 168 of file llkeyframewalkmotion.h.

References MIN_REQUIRED_PIXEL_AREA_FLY_ADJUST.

virtual LLJoint::JointPriority LLFlyAdjustMotion::getPriority (  )  [inline, virtual]

Implements LLMotion.

Definition at line 163 of file llkeyframewalkmotion.h.

References LLJoint::HIGHER_PRIORITY.

BOOL LLFlyAdjustMotion::onActivate (  )  [virtual]

Implements LLMotion.

Definition at line 370 of file llkeyframewalkmotion.cpp.

References LLQuaternion::DEFAULT, mPelvisState, mRoll, LLJointState::setPosition(), LLJointState::setRotation(), TRUE, and LLVector3::zero.

virtual void LLFlyAdjustMotion::onDeactivate (  )  [inline, virtual]

Implements LLMotion.

Definition at line 161 of file llkeyframewalkmotion.h.

LLMotion::LLMotionInitStatus LLFlyAdjustMotion::onInitialize ( LLCharacter character  )  [virtual]

Implements LLMotion.

Definition at line 349 of file llkeyframewalkmotion.cpp.

References LLMotion::addJointState(), LLCharacter::getJoint(), LLMotion::getName(), llendl, llwarns, mCharacter, mPelvisState, LLJointState::POS, LLJointState::ROT, LLJointState::setJoint(), LLJointState::setUsage(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.

BOOL LLFlyAdjustMotion::onUpdate ( F32  time,
U8 joint_mask 
) [virtual]

Implements LLMotion.

Definition at line 381 of file llkeyframewalkmotion.cpp.

References clamp_rescale(), f, LLCharacter::getCharacterAngularVelocity(), LLCharacter::getCharacterVelocity(), LLCriticalDamp::getInterpolant(), LLCharacter::getTimeDilation(), lerp(), llclamp(), LLVector3::magVec(), MAX_ROLL, mCharacter, mPelvisState, mRoll, LLVector3::mV, LLJointState::setRotation(), TRUE, and VZ.


Member Data Documentation

LLCharacter* LLFlyAdjustMotion::mCharacter [protected]

Definition at line 175 of file llkeyframewalkmotion.h.

Referenced by onInitialize(), and onUpdate().

LLJointState LLFlyAdjustMotion::mPelvisState [protected]

Definition at line 176 of file llkeyframewalkmotion.h.

Referenced by onActivate(), onInitialize(), and onUpdate().

F32 LLFlyAdjustMotion::mRoll [protected]

Definition at line 177 of file llkeyframewalkmotion.h.

Referenced by onActivate(), and onUpdate().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:21 2010 for Second Life Viewer by  doxygen 1.4.7