|
Assignments
Assignments
|
#include <interpolation.h>
Public Types | |
| enum | { NEAREST , LINEAR , CATMULL_ROM , UNIFORM_CUBIC_B_SPLINE , COUNT } |
Static Public Member Functions | |
| template<typename SampleType> | |
| static SampleType | Sample (const std::vector< SampleType > &samples, double t, int interpolationType) |
Static Public Attributes | |
| static std::string | Names [] = { "Nearest" , "Linear" , "Catmull-Rom" , "Uniform Cubic B-Spline" } |
This class represents a scheme for performing intepolation / approximation.
| anonymous enum |
|
static |
This templated static method interpolates / approximates the data in the samples vector, using the specified time parameter, t, in the range [0,1], and the prescribed interpolation scheme.
|
static |
The names of the parameterizations