1 #ifndef TIL_INTERPOLATION_TRAITS_H 2 #define TIL_INTERPOLATION_TRAITS_H 22 template <
typename Interpolator >
28 #define DEFINE_INTSAMPLESIZE_SPECIALIZATION(interpolator, sampleSize) \ 30 struct InterpolationSampleSize< interpolator > \ 32 static const int value = (sampleSize); \ 41 template <
typename T >
43 {
static const int value = 4; };
45 template <
typename T >
47 {
static const int value = 4; };
49 template <
typename T >
51 {
static const int value = 6; };
53 template <
typename T >
55 {
static const int value = 4; };
57 template <
typename T >
59 {
static const int value = 2; };
61 #undef DEFINE_INTSAMPLESIZE_SPECIALIZATION Interpolation using the Catmull-Rom polynomial.
Interpolation using Lagrange polynomials of order 4.
Traits for interpolators representing the number of sample points each of these schemes use...
Belongs to package Box Do not include directly, include til/Box.h instead.
Linear interpolation between two values.
Interpolation using Keys polynomial.