LLPoseBlender Class Reference

#include <llpose.h>

Collaboration diagram for LLPoseBlender:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPoseBlender ()
 ~LLPoseBlender ()
BOOL addMotion (LLMotion *motion)
void blendAndApply ()
void clearBlenders ()
void blendAndCache (BOOL reset_cached_joints)
void interpolate (F32 u)
LLPosegetBlendedPose ()

Protected Types

typedef std::list
< LLJointStateBlender * > 
blender_list_t
typedef std::map< LLJoint
*, LLJointStateBlender * > 
blender_map_t

Protected Attributes

blender_map_t mJointStateBlenderPool
blender_list_t mActiveBlenders
S32 mNextPoseSlot
LLPose mBlendedPose


Detailed Description

Definition at line 108 of file llpose.h.


Member Typedef Documentation

typedef std::list<LLJointStateBlender*> LLPoseBlender::blender_list_t [protected]

Definition at line 111 of file llpose.h.

typedef std::map<LLJoint*,LLJointStateBlender*> LLPoseBlender::blender_map_t [protected]

Definition at line 112 of file llpose.h.


Constructor & Destructor Documentation

LLPoseBlender::LLPoseBlender (  ) 

Definition at line 460 of file llpose.cpp.

LLPoseBlender::~LLPoseBlender (  ) 

Definition at line 464 of file llpose.cpp.

References mJointStateBlenderPool.


Member Function Documentation

BOOL LLPoseBlender::addMotion ( LLMotion motion  ) 

void LLPoseBlender::blendAndApply (  ) 

Definition at line 513 of file llpose.cpp.

References LLJointStateBlender::blendJointStates(), and mActiveBlenders.

Referenced by LLKeyframeMotionParam::onUpdate(), and LLMotionController::updateMotion().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPoseBlender::clearBlenders (  ) 

Definition at line 559 of file llpose.cpp.

References LLJointStateBlender::clear(), and mActiveBlenders.

Referenced by LLMotionController::addLoadedMotion(), and LLMotionController::clearBlenders().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPoseBlender::blendAndCache ( BOOL  reset_cached_joints  ) 

Definition at line 529 of file llpose.cpp.

References LLJointStateBlender::blendJointStates(), FALSE, mActiveBlenders, and LLJointStateBlender::resetCachedJoint().

Referenced by LLMotionController::updateMotion().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPoseBlender::interpolate ( F32  u  ) 

Definition at line 546 of file llpose.cpp.

References LLJointStateBlender::interpolate(), and mActiveBlenders.

Referenced by LLMotionController::updateMotion().

Here is the call graph for this function:

Here is the caller graph for this function:

LLPose* LLPoseBlender::getBlendedPose (  )  [inline]

Definition at line 139 of file llpose.h.

References mBlendedPose.

Referenced by LLKeyframeMotionParam::getPose(), LLKeyframeMotionParam::onInitialize(), and LLKeyframeMotionParam::onUpdate().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 113 of file llpose.h.

Referenced by addMotion(), and ~LLPoseBlender().

Definition at line 114 of file llpose.h.

Referenced by addMotion(), blendAndApply(), blendAndCache(), clearBlenders(), and interpolate().

Definition at line 116 of file llpose.h.

Definition at line 117 of file llpose.h.

Referenced by getBlendedPose().


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

Generated on Fri May 16 08:59:52 2008 for SecondLife by  doxygen 1.5.5