LLBreatheMotionRot Class Reference

Inheritance diagram for LLBreatheMotionRot:

Inheritance graph
[legend]
Collaboration diagram for LLBreatheMotionRot:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLBreatheMotionRot (const LLUUID &id)
virtual ~LLBreatheMotionRot ()
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 LLMotioncreate (const LLUUID &id)

Public Attributes

LLJointState mChestState
F32 mBreatheRate
LLCharactermCharacter

Detailed Description

Definition at line 410 of file llvoavatar.cpp.


Constructor & Destructor Documentation

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

Definition at line 415 of file llvoavatar.cpp.

References LLMotion::mName.

Referenced by create().

virtual LLBreatheMotionRot::~LLBreatheMotionRot (  )  [inline, virtual]

Definition at line 424 of file llvoavatar.cpp.


Member Function Documentation

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

Reimplemented from LLMotion.

Definition at line 432 of file llvoavatar.cpp.

References LLBreatheMotionRot().

Referenced by LLVOAvatar::LLVOAvatar().

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

Implements LLMotion.

Definition at line 454 of file llvoavatar.cpp.

References LLMotion::NORMAL_BLEND.

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

Implements LLMotion.

Definition at line 443 of file llvoavatar.cpp.

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

Implements LLMotion.

Definition at line 446 of file llvoavatar.cpp.

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

Implements LLMotion.

Definition at line 449 of file llvoavatar.cpp.

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

Implements LLMotion.

Definition at line 440 of file llvoavatar.cpp.

References TRUE.

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

Implements LLMotion.

Definition at line 457 of file llvoavatar.cpp.

References MIN_REQUIRED_PIXEL_AREA_BREATHE.

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

Implements LLMotion.

Definition at line 452 of file llvoavatar.cpp.

References LLJoint::MEDIUM_PRIORITY.

virtual BOOL LLBreatheMotionRot::onActivate (  )  [inline, virtual]

Implements LLMotion.

Definition at line 488 of file llvoavatar.cpp.

References TRUE.

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

Implements LLMotion.

Definition at line 505 of file llvoavatar.cpp.

virtual LLMotionInitStatus LLBreatheMotionRot::onInitialize ( LLCharacter character  )  [inline, virtual]

Implements LLMotion.

Definition at line 462 of file llvoavatar.cpp.

References LLMotion::addJointState(), LLCharacter::getJoint(), mCharacter, mChestState, LLJointState::ROT, LLJointState::setJoint(), LLJointState::setUsage(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.

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

Implements LLMotion.

Definition at line 493 of file llvoavatar.cpp.

References BREATHE_ROT_MOTION_STRENGTH, f, mBreatheRate, mChestState, LLJointState::setRotation(), sinf, and TRUE.


Member Data Documentation

F32 LLBreatheMotionRot::mBreatheRate

Definition at line 512 of file llvoavatar.cpp.

Referenced by onUpdate().

LLCharacter* LLBreatheMotionRot::mCharacter

Definition at line 513 of file llvoavatar.cpp.

Referenced by onInitialize().

LLJointState LLBreatheMotionRot::mChestState

Definition at line 511 of file llvoavatar.cpp.

Referenced by onInitialize(), and onUpdate().


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