ANIMA  4.0
animaCubicInterpolation.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 
5 namespace anima
6 {
7 
8 template <class T> T Cubic (T x0, T x1, T x2, T x3, T y0, T y1, T y2, T y3, T x);
9 template <class T> void InverseCubicInterpolator(std::vector <T> &inputVect, std::vector <T> &outputVect, T step);
10 template <class T> void CubicInterpolator(std::vector <T> &transfVect, std::vector <T> &scale, std::vector<T> &outputVect, T LengthLine);
11 
12 } // end namespace anima
13 
void CubicInterpolator(std::vector< T > &transfVect, std::vector< T > &scale, std::vector< T > &outputVect, T LengthLine)
void InverseCubicInterpolator(std::vector< T > &inputVect, std::vector< T > &outputVect, T step)
T Cubic(T x0, T x1, T x2, T x3, T y0, T y1, T y2, T y3, T x)