Public Member Functions

xl7::direct3d::animations::JointAnimator Class Reference

#include <JointAnimator.h>

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

List of all members.

Public Member Functions

 JointAnimator (void)
virtual ~JointAnimator (void)
void Transmit (const cl7::string_type &joint_identifier, models::ModelInstance *model_instance, const ml7::Quaternion &rotation, const ml7::Vector3 &translation) const
virtual void Update (float progress, ml7::Quaternion &rotation, ml7::Vector3 &translation) const

Constructor & Destructor Documentation

xl7::direct3d::animations::JointAnimator::JointAnimator ( void   ) 

Default constructor.

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

Destructor.


Member Function Documentation

void xl7::direct3d::animations::JointAnimator::Transmit ( const cl7::string_type joint_identifier,
models::ModelInstance model_instance,
const ml7::Quaternion rotation,
const ml7::Vector3 translation 
) const

Transmits the given (updated) rotation and translation to the joint associated with the given identifier of the given model instance.

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

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

Reimplemented in xl7::direct3d::animations::JointAnimatorUsingCallback, and xl7::direct3d::animations::JointAnimatorUsingScript.


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