All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
MultiWidgets::CubicHermiteInterpolation< T > Class Template Reference

Cubic Hermite interpolation of keyframes (only uses tangentIn) More...

#include <MultiWidgets/Interpolation.hpp>

Static Public Member Functions

static T interpolate (float time, const KeyFrame< T > &a, const KeyFrame< T > &b)
 Interpolates between two keyframes using the specified time. More...
 

Detailed Description

template<class T>
class MultiWidgets::CubicHermiteInterpolation< T >

Cubic Hermite interpolation of keyframes (only uses tangentIn)

Member Function Documentation

template<class T >
static T MultiWidgets::CubicHermiteInterpolation< T >::interpolate ( float  time,
const KeyFrame< T > &  a,
const KeyFrame< T > &  b 
)
inlinestatic

Interpolates between two keyframes using the specified time.

Parameters
timeinterpolating parameter
afirst keyframe
bsecond keyframe
Returns
interpolated value