VEE_LinearInterpolation< T > Class Template Reference

Linear break-point interpolator. More...

#include <vee_interpolators.h>

Inheritance diagram for VEE_LinearInterpolation< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions

Protected Attributes


Detailed Description

template<typename T>
class VEE_LinearInterpolation< T >

Linear break-point interpolator.


Constructor & Destructor Documentation

template<typename T>
VEE_LinearInterpolation< T >::VEE_LinearInterpolation  )  [inline]
 

template<typename T>
VEE_LinearInterpolation< T >::~VEE_LinearInterpolation  )  [inline]
 


Member Function Documentation

template<typename T>
void VEE_LinearInterpolation< T >::clear  )  [inline]
 

Remove all interpolator points.

template<typename T>
T VEE_LinearInterpolation< T >::getValue float  t  )  [inline]
 

Get value associated with time t.

template<typename T>
T VEE_LinearInterpolation< T >::getValueBisect float  t  )  const [inline]
 

Get value associated with time t.

This method uses the bisect-method to find the proper interval.

template<typename T>
T VEE_LinearInterpolation< T >::getValueFast float  t  )  [inline]
 

Get value associated with time t without interpolation.

template<typename T>
void VEE_LinearInterpolation< T >::appendPoint const T v,
float  t
[inline]
 

Append an interpolation control point to this interpolator.

template<typename T>
bool VEE_LinearInterpolation< T >::atEnd  )  const [inline]
 

template<typename T>
unsigned VEE_LinearInterpolation< T >::size  )  [inline]
 

The number of interpolation points.

template<typename T>
VEE_InterpolationPoint<T>& VEE_LinearInterpolation< T >::getPoint uint  i  )  [inline]
 

template<typename T>
static T VEE_LinearInterpolation< T >::interpolate const VEE_InterpolationPoint< T > &  p1,
const VEE_InterpolationPoint< T > &  p2,
float  t
[inline, static]
 

The method that interpolates two points.

template<typename T>
static T VEE_LinearInterpolation< T >::interpolate const T v1,
const T v2,
float  mix
[inline, static]
 

The method that interpolates two values.

If the value cannot be interpolated by simple scalar multiplication, then you may specialize this method to insert your own interpolation method here. This may be necessary for quaternions, matrices etc.

template<typename T>
float VEE_LinearInterpolation< T >::endTime  )  const [inline]
 

template<typename T>
void VEE_LinearInterpolation< T >::moveTime float  offset  )  [inline]
 

template<typename T>
void VEE_LinearInterpolation< T >::seekInterval float  t  )  [inline, protected]
 


Member Data Documentation

template<typename T>
std::vector<VEE_InterpolationPoint<T> > VEE_LinearInterpolation< T >::m_points [protected]
 

template<typename T>
unsigned VEE_LinearInterpolation< T >::m_index [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Mar 12 21:09:26 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6