clan::ModelDataAnimationTimeline< Type > Class Template Reference

A list of time stamps and the values to be used for each. More...

#include <model_data_animation_timeline.h>

Public Member Functions

float find_animation_indices (float timestamp, size_t &index, size_t &index2) const
 
Type get_value (float timestamp) const
 
template<>
Quaternionf get_value (float timestamp) const
 
template<>
Mat4f get_value (float timestamp) const
 

Public Attributes

std::vector< float > timestamps
 
std::vector< Type > values
 

Detailed Description

template<typename Type>
class clan::ModelDataAnimationTimeline< Type >

A list of time stamps and the values to be used for each.

Member Function Documentation

template<typename Type >
float clan::ModelDataAnimationTimeline< Type >::find_animation_indices ( float  timestamp,
size_t &  index,
size_t &  index2 
) const
inline
template<typename Type >
Type clan::ModelDataAnimationTimeline< Type >::get_value ( float  timestamp) const
inline
template<>
Quaternionf clan::ModelDataAnimationTimeline< Quaternionf >::get_value ( float  timestamp) const
inline
template<>
Mat4f clan::ModelDataAnimationTimeline< Mat4f >::get_value ( float  timestamp) const
inline

Member Data Documentation

template<typename Type >
std::vector<float> clan::ModelDataAnimationTimeline< Type >::timestamps
template<typename Type >
std::vector<Type> clan::ModelDataAnimationTimeline< Type >::values

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