Public Types | Public Member Functions

xl7::direct3d::animations::JointAnimatorUsingCallback Class Reference

#include <JointAnimatorUsingCallback.h>

Inheritance diagram for xl7::direct3d::animations::JointAnimatorUsingCallback:
xl7::direct3d::animations::JointAnimator

List of all members.

Public Types

typedef void(* UpdateCallback )(float progress, ml7::Quaternion &rotation, ml7::Vector3 &translation)

Public Member Functions

 JointAnimatorUsingCallback (UpdateCallback update_callback)
virtual ~JointAnimatorUsingCallback (void)
UpdateCallback GetUpdateCallback () const
void Update (float progress, ml7::Quaternion &rotation, ml7::Vector3 &translation) const

Member Typedef Documentation


Constructor & Destructor Documentation

xl7::direct3d::animations::JointAnimatorUsingCallback::JointAnimatorUsingCallback ( UpdateCallback  update_callback  ) 

Explicit constructor.

xl7::direct3d::animations::JointAnimatorUsingCallback::~JointAnimatorUsingCallback ( void   )  [virtual]

Destructor.


Member Function Documentation

UpdateCallback xl7::direct3d::animations::JointAnimatorUsingCallback::GetUpdateCallback (  )  const [inline]

Returns the callback function performing the update actions.

void xl7::direct3d::animations::JointAnimatorUsingCallback::Update ( float  progress,
ml7::Quaternion rotation,
ml7::Vector3 translation 
) const [virtual]

Updates the given rotation quaternion and the given translation vector.

Updates the given rotation quaternion and the given translation vector. Override this function to substantiate the desired animation behavior.

Reimplemented from xl7::direct3d::animations::JointAnimator.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines