LLKeyframeMotion Class Reference

#include <llkeyframemotion.h>

Inheritance diagram for LLKeyframeMotion:

Inheritance graph
[legend]
Collaboration diagram for LLKeyframeMotion:

Collaboration graph
[legend]

List of all members.

Public Types

enum  e_constraint_type { TYPE_POINT, TYPE_PLANE }
enum  e_constraint_target_type { TYPE_BODY, TYPE_GROUND }
enum  AssetStatus {
  ASSET_LOADED, ASSET_FETCHED, ASSET_NEEDS_FETCH, ASSET_FETCH_FAILED,
  ASSET_UNDEFINED
}
enum  InterpolationType { IT_STEP, IT_LINEAR, IT_SPLINE }
typedef enum
LLKeyframeMotion::e_constraint_type 
EConstraintType
typedef enum
LLKeyframeMotion::e_constraint_target_type 
EConstraintTargetType

Public Member Functions

 LLKeyframeMotion (const LLUUID &id)
virtual ~LLKeyframeMotion ()
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 ()
virtual void setStopTime (F32 time)
U32 getFileSize ()
BOOL serialize (LLDataPacker &dp) const
BOOL deserialize (LLDataPacker &dp)
BOOL isLoaded ()
void setLoop (BOOL loop)
F32 getLoopIn ()
F32 getLoopOut ()
void setLoopIn (F32 in_point)
void setLoopOut (F32 out_point)
void setHandPose (LLHandMotion::eHandPose pose)
LLHandMotion::eHandPose getHandPose ()
void setPriority (S32 priority)
void setEmote (const LLUUID &emote_id)
void setEaseIn (F32 ease_in)
void setEaseOut (F32 ease_in)
F32 getLastUpdateTime ()
const LLBBoxLocalgetPelvisBBox ()

Static Public Member Functions

static LLMotioncreate (const LLUUID &id)
static void setVFS (LLVFS *vfs)
static void onLoadComplete (LLVFS *vfs, const LLUUID &asset_uuid, LLAssetType::EType type, void *user_data, S32 status, LLExtStat ext_status)
static void flushKeyframeCache ()

Protected Types

typedef std::list
< JointConstraint * > 
constraint_list_t

Protected Member Functions

void applyKeyframes (F32 time)
void applyConstraints (F32 time, U8 *joint_mask)
void activateConstraint (JointConstraint *constraintp)
void initializeConstraint (JointConstraint *constraint)
void deactivateConstraint (JointConstraint *constraintp)
void applyConstraint (JointConstraint *constraintp, F32 time, U8 *joint_mask)
BOOL setupPose ()

Protected Attributes

JointMotionListmJointMotionList
std::vector< LLPointer
< LLJointState > > 
mJointStates
LLJointmPelvisp
LLCharactermCharacter
std::string mEmoteName
constraint_list_t mConstraints
U32 mLastSkeletonSerialNum
F32 mLastUpdateTime
F32 mLastLoopedTime
AssetStatus mAssetStatus

Static Protected Attributes

static LLVFSsVFS = NULL

Private Member Functions

LLPointer< LLJointState > & getJointState (U32 index)
LLJointgetJoint (U32 index)

Friends

class LLKeyframeDataCache

Classes

class  JointConstraint
class  JointConstraintSharedData
class  JointMotion
class  JointMotionList
class  PositionCurve
class  PositionKey
class  RotationCurve
class  RotationKey
class  ScaleCurve
class  ScaleKey


Detailed Description

Definition at line 64 of file llkeyframemotion.h.


Member Typedef Documentation

typedef std::list<JointConstraint*> LLKeyframeMotion::constraint_list_t [protected]

Definition at line 439 of file llkeyframemotion.h.


Member Enumeration Documentation

Enumerator:
TYPE_POINT 
TYPE_PLANE 

Definition at line 200 of file llkeyframemotion.h.

Enumerator:
TYPE_BODY 
TYPE_GROUND 

Definition at line 206 of file llkeyframemotion.h.

Enumerator:
ASSET_LOADED 
ASSET_FETCHED 
ASSET_NEEDS_FETCH 
ASSET_FETCH_FAILED 
ASSET_UNDEFINED 

Definition at line 284 of file llkeyframemotion.h.

Enumerator:
IT_STEP 
IT_LINEAR 
IT_SPLINE 

Definition at line 286 of file llkeyframemotion.h.


Constructor & Destructor Documentation

LLKeyframeMotion::LLKeyframeMotion ( const LLUUID id  ) 

Definition at line 426 of file llkeyframemotion.cpp.

Referenced by create().

Here is the caller graph for this function:

LLKeyframeMotion::~LLKeyframeMotion (  )  [virtual]

Definition at line 443 of file llkeyframemotion.cpp.

References mConstraints.


Member Function Documentation

LLPointer< LLJointState > & LLKeyframeMotion::getJointState ( U32  index  )  [private]

Definition at line 459 of file llkeyframemotion.cpp.

References llassert_always, mJointStates, and S32.

Referenced by applyConstraint(), initializeConstraint(), setPriority(), and setupPose().

Here is the caller graph for this function:

LLJoint * LLKeyframeMotion::getJoint ( U32  index  )  [private]

Definition at line 468 of file llkeyframemotion.cpp.

References llassert_always, mJointStates, and S32.

Referenced by activateConstraint(), applyConstraint(), deserialize(), initializeConstraint(), and LLKeyframeFallMotion::onInitialize().

Here is the caller graph for this function:

LLMotion * LLKeyframeMotion::create ( const LLUUID id  )  [static]

Reimplemented from LLMotion.

Reimplemented in LLKeyframeFallMotion, LLKeyframeStandMotion, and LLKeyframeWalkMotion.

Definition at line 451 of file llkeyframemotion.cpp.

References LLKeyframeMotion().

Referenced by LLMotionRegistry::createMotion(), and LLVOAvatar::LLVOAvatar().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements LLMotion.

Definition at line 95 of file llkeyframemotion.h.

References FALSE, mJointMotionList, and LLKeyframeMotion::JointMotionList::mLoop.

Referenced by LLFloaterAnimPreview::postBuild(), LLFloaterAnimPreview::validateEaseIn(), and LLFloaterAnimPreview::validateEaseOut().

Here is the caller graph for this function:

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

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

Implements LLMotion.

Reimplemented in LLKeyframeFallMotion.

Definition at line 107 of file llkeyframemotion.h.

References LLKeyframeMotion::JointMotionList::mEaseInDuration, and mJointMotionList.

Referenced by LLFloaterAnimPreview::postBuild(), and LLFloaterAnimPreview::validateEaseOut().

Here is the caller graph for this function:

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

Implements LLMotion.

Definition at line 113 of file llkeyframemotion.h.

References LLKeyframeMotion::JointMotionList::mEaseOutDuration, and mJointMotionList.

Referenced by LLFloaterAnimPreview::postBuild(), setStopTime(), and LLFloaterAnimPreview::validateEaseIn().

Here is the caller graph for this function:

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

Implements LLMotion.

Definition at line 119 of file llkeyframemotion.h.

References LLJoint::LOW_PRIORITY, LLKeyframeMotion::JointMotionList::mBasePriority, and mJointMotionList.

Referenced by applyConstraint(), and LLFloaterAnimPreview::postBuild().

Here is the caller graph for this function:

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

Implements LLMotion.

Definition at line 124 of file llkeyframemotion.h.

References LLMotion::NORMAL_BLEND.

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

Implements LLMotion.

Definition at line 127 of file llkeyframemotion.h.

References MIN_REQUIRED_PIXEL_AREA_KEYFRAME.

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

BOOL LLKeyframeMotion::onActivate (  )  [virtual]

Implements LLMotion.

Reimplemented in LLKeyframeFallMotion, LLKeyframeStandMotion, and LLKeyframeWalkMotion.

Definition at line 646 of file llkeyframemotion.cpp.

References gAnimLibrary, mCharacter, mEmoteName, mLastLoopedTime, LLCharacter::startMotion(), LLAnimationLibrary::stringToAnimState(), and TRUE.

Referenced by LLKeyframeWalkMotion::onActivate(), LLKeyframeStandMotion::onActivate(), and LLKeyframeFallMotion::onActivate().

Here is the call graph for this function:

Here is the caller graph for this function:

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

void LLKeyframeMotion::onDeactivate (  )  [virtual]

Implements LLMotion.

Reimplemented in LLKeyframeStandMotion, and LLKeyframeWalkMotion.

Definition at line 769 of file llkeyframemotion.cpp.

References deactivateConstraint(), and mConstraints.

Referenced by LLKeyframeWalkMotion::onDeactivate(), and LLKeyframeStandMotion::onDeactivate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLKeyframeMotion::setStopTime ( F32  time  )  [virtual]

static void LLKeyframeMotion::setVFS ( LLVFS vfs  )  [inline, static]

Definition at line 149 of file llkeyframemotion.h.

References sVFS.

Referenced by LLVOAvatar::LLVOAvatar().

Here is the caller graph for this function:

void LLKeyframeMotion::onLoadComplete ( LLVFS vfs,
const LLUUID asset_uuid,
LLAssetType::EType  type,
void *  user_data,
S32  status,
LLExtStat  ext_status 
) [static]

Definition at line 1956 of file llkeyframemotion.cpp.

References ASSET_FETCH_FAILED, ASSET_LOADED, LLCharacter::createMotion(), deserialize(), LLMotion::getID(), LLMotion::getName(), LLVFile::getSize(), lldebugs, llendl, llwarns, mAssetStatus, LLVFile::read(), LLVFile::READ, S32, and LLCharacter::sInstances.

Referenced by onInitialize().

Here is the call graph for this function:

Here is the caller graph for this function:

U32 LLKeyframeMotion::getFileSize (  ) 

Definition at line 1794 of file llkeyframemotion.cpp.

References LLDataPackerBinaryBuffer::getCurrentSize(), and serialize().

Referenced by LLFloaterAnimPreview::onBtnOK().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLKeyframeMotion::serialize ( LLDataPacker dp  )  const

Definition at line 1696 of file llkeyframemotion.cpp.

References F32_to_U16(), LLCharacter::findCollisionVolume(), LLKeyframeMotion::JointMotionList::getJointMotion(), LLJoint::getName(), LLKeyframeMotion::JointMotionList::getNumJointMotions(), i, KEYFRAME_MOTION_SUBVERSION, KEYFRAME_MOTION_VERSION, LL_MAX_PELVIS_OFFSET, LLKeyframeMotion::JointMotionList::mBasePriority, LLKeyframeMotion::JointConstraintSharedData::mChainLength, mCharacter, LLKeyframeMotion::JointMotionList::mConstraints, LLKeyframeMotion::JointConstraintSharedData::mConstraintTargetType, LLKeyframeMotion::JointConstraintSharedData::mConstraintType, LLKeyframeMotion::JointMotionList::mDuration, LLKeyframeMotion::JointMotionList::mEaseInDuration, LLKeyframeMotion::JointConstraintSharedData::mEaseInStartTime, LLKeyframeMotion::JointConstraintSharedData::mEaseInStopTime, LLKeyframeMotion::JointMotionList::mEaseOutDuration, LLKeyframeMotion::JointConstraintSharedData::mEaseOutStartTime, LLKeyframeMotion::JointConstraintSharedData::mEaseOutStopTime, mEmoteName, LLKeyframeMotion::JointMotionList::mHandPose, mJointMotionList, LLKeyframeMotion::JointMotion::mJointName, LLKeyframeMotion::PositionCurve::mKeys, LLKeyframeMotion::RotationCurve::mKeys, LLKeyframeMotion::JointMotionList::mLoop, LLKeyframeMotion::JointMotionList::mLoopInPoint, LLKeyframeMotion::JointMotionList::mLoopOutPoint, LLKeyframeMotion::PositionCurve::mNumKeys, LLKeyframeMotion::RotationCurve::mNumKeys, LLKeyframeMotion::PositionKey::mPosition, LLKeyframeMotion::JointMotion::mPositionCurve, LLKeyframeMotion::JointMotion::mPriority, LLKeyframeMotion::RotationKey::mRotation, LLKeyframeMotion::JointMotion::mRotationCurve, LLKeyframeMotion::JointConstraintSharedData::mSourceConstraintOffset, LLKeyframeMotion::JointConstraintSharedData::mSourceConstraintVolume, LLKeyframeMotion::JointConstraintSharedData::mTargetConstraintDir, LLKeyframeMotion::JointConstraintSharedData::mTargetConstraintOffset, LLKeyframeMotion::JointConstraintSharedData::mTargetConstraintVolume, LLKeyframeMotion::PositionKey::mTime, LLKeyframeMotion::RotationKey::mTime, LLVector3::mV, LLDataPacker::packBinaryDataFixed(), LLDataPacker::packF32(), LLDataPacker::packS32(), LLDataPacker::packString(), LLQuaternion::packToVector3(), LLDataPacker::packU16(), LLDataPacker::packU32(), LLDataPacker::packU8(), LLDataPacker::packVector3(), LLVector3::quantize16(), TRUE, TYPE_GROUND, VX, VY, and VZ.

Referenced by getFileSize(), and LLFloaterAnimPreview::onBtnOK().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLKeyframeMotion::deserialize ( LLDataPacker dp  ) 

Definition at line 1161 of file llkeyframemotion.cpp.

References LLJoint::ADDITIVE_PRIORITY, LLKeyframeDataCache::addKeyframeData(), LLBBoxLocal::addPoint(), ASSET_LOADED, FALSE, LLCharacter::findCollisionVolume(), LLCharacter::getCollisionVolumeID(), LLMotion::getID(), getJoint(), LLCharacter::getJoint(), LLJoint::getName(), LLKeyframeMotion::JointMotionList::getNumJointMotions(), LLJoint::getParent(), i, LLVector3::isExactlyZero(), IT_LINEAR, j, KEYFRAME_MOTION_SUBVERSION, KEYFRAME_MOTION_VERSION, LL_CHARACTER_MAX_JOINTS, LL_MAX_PELVIS_OFFSET, llendl, llerrs, llwarns, mAssetStatus, MAX_CONSTRAINTS, mayaQ(), LLKeyframeMotion::JointMotionList::mBasePriority, LLKeyframeMotion::JointConstraintSharedData::mChainLength, mCharacter, LLKeyframeMotion::JointMotionList::mConstraints, LLKeyframeMotion::JointConstraintSharedData::mConstraintTargetType, LLKeyframeMotion::JointConstraintSharedData::mConstraintType, LLKeyframeMotion::JointMotionList::mDuration, LLKeyframeMotion::JointMotionList::mEaseInDuration, LLKeyframeMotion::JointConstraintSharedData::mEaseInStartTime, LLKeyframeMotion::JointConstraintSharedData::mEaseInStopTime, LLKeyframeMotion::JointMotionList::mEaseOutDuration, LLKeyframeMotion::JointConstraintSharedData::mEaseOutStartTime, LLKeyframeMotion::JointConstraintSharedData::mEaseOutStopTime, mEmoteName, LLKeyframeMotion::JointMotionList::mHandPose, LLKeyframeMotion::PositionCurve::mInterpolationType, LLKeyframeMotion::RotationCurve::mInterpolationType, LLKeyframeMotion::JointMotionList::mJointMotionArray, mJointMotionList, LLKeyframeMotion::JointMotion::mJointName, LLKeyframeMotion::JointConstraintSharedData::mJointStateIndices, mJointStates, LLKeyframeMotion::PositionCurve::mKeys, LLKeyframeMotion::RotationCurve::mKeys, LLKeyframeMotion::JointMotionList::mLoop, LLKeyframeMotion::JointMotionList::mLoopInPoint, LLKeyframeMotion::JointMotionList::mLoopOutPoint, LLKeyframeMotion::JointMotionList::mMaxPriority, LLKeyframeMotion::PositionCurve::mNumKeys, LLKeyframeMotion::RotationCurve::mNumKeys, LLKeyframeMotion::JointMotionList::mPelvisBBox, LLKeyframeMotion::PositionKey::mPosition, LLKeyframeMotion::JointMotion::mPositionCurve, LLKeyframeMotion::JointMotion::mPriority, LLKeyframeMotion::RotationKey::mRotation, LLKeyframeMotion::JointMotion::mRotationCurve, LLKeyframeMotion::JointConstraintSharedData::mSourceConstraintOffset, LLKeyframeMotion::JointConstraintSharedData::mSourceConstraintVolume, LLKeyframeMotion::JointConstraintSharedData::mTargetConstraintDir, LLKeyframeMotion::JointConstraintSharedData::mTargetConstraintOffset, LLKeyframeMotion::JointConstraintSharedData::mTargetConstraintVolume, LLKeyframeMotion::PositionKey::mTime, LLKeyframeMotion::RotationKey::mTime, LLKeyframeMotion::JointMotion::mUsage, LLKeyframeMotion::JointConstraintSharedData::mUseTargetOffset, LLVector3::mV, LLJointState::POS, LLJointState::ROT, S32, setupPose(), StringToOrder(), TRUE, TYPE_BODY, TYPE_GROUND, U16_to_F32(), LLDataPacker::unpackBinaryDataFixed(), LLDataPacker::unpackF32(), LLQuaternion::unpackFromVector3(), LLDataPacker::unpackS32(), LLDataPacker::unpackString(), LLDataPacker::unpackU16(), LLDataPacker::unpackU32(), LLDataPacker::unpackU8(), LLDataPacker::unpackVector3(), LLJoint::USE_MOTION_PRIORITY, VX, VY, and VZ.

Referenced by onInitialize(), onLoadComplete(), and LLFloaterAnimPreview::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLKeyframeMotion::isLoaded (  )  [inline]

Definition at line 160 of file llkeyframemotion.h.

References mJointMotionList, and NULL.

void LLKeyframeMotion::setLoop ( BOOL  loop  ) 

Definition at line 1885 of file llkeyframemotion.cpp.

References F32_MAX, mJointMotionList, LLKeyframeMotion::JointMotionList::mLoop, and LLMotion::mSendStopTimestamp.

Referenced by LLFloaterAnimPreview::onCommitLoop().

Here is the caller graph for this function:

F32 LLKeyframeMotion::getLoopIn (  )  [inline]

Definition at line 166 of file llkeyframemotion.h.

References mJointMotionList, and LLKeyframeMotion::JointMotionList::mLoopInPoint.

Referenced by LLFloaterAnimPreview::postBuild().

Here is the caller graph for this function:

F32 LLKeyframeMotion::getLoopOut (  )  [inline]

Definition at line 170 of file llkeyframemotion.h.

References mJointMotionList, and LLKeyframeMotion::JointMotionList::mLoopOutPoint.

Referenced by LLFloaterAnimPreview::postBuild().

Here is the caller graph for this function:

void LLKeyframeMotion::setLoopIn ( F32  in_point  ) 

void LLKeyframeMotion::setLoopOut ( F32  out_point  ) 

void LLKeyframeMotion::setHandPose ( LLHandMotion::eHandPose  pose  )  [inline]

Definition at line 178 of file llkeyframemotion.h.

References LLKeyframeMotion::JointMotionList::mHandPose, and mJointMotionList.

Referenced by LLFloaterAnimPreview::onCommitHandPose().

Here is the caller graph for this function:

LLHandMotion::eHandPose LLKeyframeMotion::getHandPose (  )  [inline]

Definition at line 182 of file llkeyframemotion.h.

References LLHandMotion::HAND_POSE_RELAXED, LLKeyframeMotion::JointMotionList::mHandPose, and mJointMotionList.

Referenced by LLFloaterAnimPreview::postBuild().

Here is the caller graph for this function:

void LLKeyframeMotion::setPriority ( S32  priority  ) 

void LLKeyframeMotion::setEmote ( const LLUUID emote_id  ) 

Definition at line 1837 of file llkeyframemotion.cpp.

References LLAnimationLibrary::animStateToString(), gAnimLibrary, and mEmoteName.

Referenced by LLFloaterAnimPreview::onCommitEmote().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLKeyframeMotion::setEaseIn ( F32  ease_in  ) 

Definition at line 1853 of file llkeyframemotion.cpp.

References llmax(), LLKeyframeMotion::JointMotionList::mEaseInDuration, and mJointMotionList.

Referenced by LLFloaterAnimPreview::onCommitEaseIn().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLKeyframeMotion::setEaseOut ( F32  ease_in  ) 

Definition at line 1864 of file llkeyframemotion.cpp.

References llmax(), LLKeyframeMotion::JointMotionList::mEaseOutDuration, and mJointMotionList.

Referenced by LLFloaterAnimPreview::onCommitEaseOut().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLKeyframeMotion::getLastUpdateTime (  )  [inline]

Definition at line 194 of file llkeyframemotion.h.

References mLastLoopedTime.

Referenced by LLFloaterAnimPreview::refresh().

Here is the caller graph for this function:

const LLBBoxLocal & LLKeyframeMotion::getPelvisBBox (  ) 

Definition at line 1806 of file llkeyframemotion.cpp.

References mJointMotionList, and LLKeyframeMotion::JointMotionList::mPelvisBBox.

Referenced by LLFloaterAnimPreview::postBuild().

Here is the caller graph for this function:

void LLKeyframeMotion::flushKeyframeCache (  )  [static]

Definition at line 1876 of file llkeyframemotion.cpp.

Referenced by LLVOAvatar::resetAnimations().

Here is the caller graph for this function:

void LLKeyframeMotion::applyKeyframes ( F32  time  )  [protected]

void LLKeyframeMotion::applyConstraints ( F32  time,
U8 joint_mask 
) [protected]

Definition at line 741 of file llkeyframemotion.cpp.

References applyConstraint(), LLCharacter::getSkeletonSerialNum(), initializeConstraint(), mCharacter, mConstraints, and mLastSkeletonSerialNum.

Referenced by onUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLKeyframeMotion::activateConstraint ( JointConstraint constraintp  )  [protected]

void LLKeyframeMotion::initializeConstraint ( JointConstraint constraint  )  [protected]

void LLKeyframeMotion::deactivateConstraint ( JointConstraint constraintp  )  [protected]

void LLKeyframeMotion::applyConstraint ( JointConstraint constraintp,
F32  time,
U8 joint_mask 
) [protected]

Definition at line 895 of file llkeyframemotion.cpp.

References activateConstraint(), clamp_rescale(), LLVector3::clearVec(), deactivateConstraint(), dist_vec(), dist_vec_squared(), FALSE, LLCharacter::findCollisionVolume(), fsqrtf, LLCriticalDamp::getInterpolant(), getJoint(), LLJoint::getJointNum(), getJointState(), LLJoint::getParent(), LLCharacter::getPixelArea(), LLCharacter::getPosAgentFromGlobal(), LLJoint::getPosition(), getPriority(), LLJoint::getRotation(), LLCharacter::getVolumePos(), LLJoint::getWorldPosition(), LLJoint::getWorldRotation(), LLVector3::isExactlyZero(), JOINT_LENGTH_K, lerp(), llabs(), llmax(), llmin(), llround(), LLKeyframeMotion::JointConstraint::mActive, LLVector3::magVecSquared(), MAX_CHAIN_LENGTH, MAX_ITERATIONS, MAX_PIXEL_AREA_CONSTRAINTS, LLKeyframeMotion::JointConstraintSharedData::mChainLength, mCharacter, LLKeyframeMotion::JointConstraintSharedData::mConstraintTargetType, LLKeyframeMotion::JointConstraintSharedData::mConstraintType, LLKeyframeMotion::JointConstraintSharedData::mEaseInStartTime, LLKeyframeMotion::JointConstraintSharedData::mEaseInStopTime, LLKeyframeMotion::JointConstraintSharedData::mEaseOutStartTime, LLKeyframeMotion::JointConstraintSharedData::mEaseOutStopTime, LLKeyframeMotion::JointConstraint::mFixupDistanceRMS, LLKeyframeMotion::JointConstraint::mGroundNorm, LLKeyframeMotion::JointConstraint::mGroundPos, MIN_ACCELERATION_SQUARED, MIN_ITERATION_COUNT, MIN_ITERATIONS, MIN_PIXEL_AREA_CONSTRAINTS, LLKeyframeMotion::JointConstraint::mJointLengthFractions, LLKeyframeMotion::JointConstraint::mJointLengths, LLKeyframeMotion::JointConstraintSharedData::mJointStateIndices, mLastUpdateTime, mPelvisp, LLKeyframeMotion::JointConstraint::mPositions, LLKeyframeMotion::JointConstraint::mSharedData, LLKeyframeMotion::JointConstraintSharedData::mSourceConstraintOffset, LLKeyframeMotion::JointConstraintSharedData::mSourceConstraintVolume, LLKeyframeMotion::JointConstraintSharedData::mTargetConstraintOffset, LLKeyframeMotion::JointConstraintSharedData::mTargetConstraintVolume, LLKeyframeMotion::JointConstraint::mTotalLength, LLKeyframeMotion::JointConstraint::mWeight, nlerp(), LLVector3::normVec(), NULL, LLJointState::POS, S32, LLJoint::setRotation(), LLQuaternion::shortestArc(), TYPE_BODY, TYPE_GROUND, and TYPE_PLANE.

Referenced by applyConstraints().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLKeyframeMotion::setupPose (  )  [protected]


Friends And Related Function Documentation

friend class LLKeyframeDataCache [friend]

Definition at line 67 of file llkeyframemotion.h.


Member Data Documentation

LLVFS * LLKeyframeMotion::sVFS = NULL [static, protected]

Definition at line 429 of file llkeyframemotion.h.

Referenced by onInitialize(), and setVFS().

Definition at line 436 of file llkeyframemotion.h.

Referenced by activateConstraint(), applyConstraint(), and setupPose().

std::string LLKeyframeMotion::mEmoteName [protected]

Definition at line 438 of file llkeyframemotion.h.

Referenced by deserialize(), onActivate(), serialize(), and setEmote().

Definition at line 440 of file llkeyframemotion.h.

Referenced by applyConstraints(), onDeactivate(), setupPose(), and ~LLKeyframeMotion().

Definition at line 441 of file llkeyframemotion.h.

Referenced by applyConstraints().

Definition at line 442 of file llkeyframemotion.h.

Referenced by applyConstraint(), and onUpdate().

Definition at line 443 of file llkeyframemotion.h.

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

Definition at line 444 of file llkeyframemotion.h.

Referenced by deserialize(), onInitialize(), and onLoadComplete().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:51:09 2008 for SecondLife by  doxygen 1.5.5