#include <animation_interface.h>
Public Types | |
typedef skeleton_type_ | skeleton_type |
typedef skeleton_type::math_types | math_types |
typedef math_types::coordsys_type | coordsys_type |
typedef math_types::real_type | real_type |
Public Member Functions | |
Interface () | |
virtual | ~Interface () |
virtual void | clear () |
real_type const & | get_weight () const |
void | set_weight (real_type const &value) |
virtual void | blend_pose (skeleton_type &skeleton, real_type const &local_time)=0 |
virtual real_type | compute_duration (void)=0 |
Protected Attributes | |
real_type | m_weight |
End user assigned weight, could be anything!!! |
An Animation base Class.
typedef math_types::coordsys_type OpenTissue::animation::Interface< skeleton_type_ >::coordsys_type |
Reimplemented in OpenTissue::animation::KeyframeAnimation< skeleton_type_ >.
typedef skeleton_type::math_types OpenTissue::animation::Interface< skeleton_type_ >::math_types |
Reimplemented in OpenTissue::animation::KeyframeAnimation< skeleton_type_ >.
typedef math_types::real_type OpenTissue::animation::Interface< skeleton_type_ >::real_type |
Reimplemented in OpenTissue::animation::KeyframeAnimation< skeleton_type_ >.
typedef skeleton_type_ OpenTissue::animation::Interface< skeleton_type_ >::skeleton_type |
Reimplemented in OpenTissue::animation::KeyframeAnimation< skeleton_type_ >.
OpenTissue::animation::Interface< skeleton_type_ >::Interface | ( | ) | [inline] |
virtual OpenTissue::animation::Interface< skeleton_type_ >::~Interface | ( | ) | [inline, virtual] |
virtual void OpenTissue::animation::Interface< skeleton_type_ >::blend_pose | ( | skeleton_type & | skeleton, | |
real_type const & | local_time | |||
) | [pure virtual] |
Blend Pose.
skeleton | ||
local_time |
Implemented in OpenTissue::animation::KeyframeAnimation< skeleton_type_ >.
virtual void OpenTissue::animation::Interface< skeleton_type_ >::clear | ( | void | ) | [inline, virtual] |
Reimplemented in OpenTissue::animation::KeyframeAnimation< skeleton_type_ >.
virtual real_type OpenTissue::animation::Interface< skeleton_type_ >::compute_duration | ( | void | ) | [pure virtual] |
Compute Duration.
Implemented in OpenTissue::animation::KeyframeAnimation< skeleton_type_ >.
real_type const& OpenTissue::animation::Interface< skeleton_type_ >::get_weight | ( | ) | const [inline] |
void OpenTissue::animation::Interface< skeleton_type_ >::set_weight | ( | real_type const & | value | ) | [inline] |
real_type OpenTissue::animation::Interface< skeleton_type_ >::m_weight [protected] |
End user assigned weight, could be anything!!!