Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates double
values using a CatmullRomInterpolator.
More...
#include <CatmullRomInterpolator.hpp>
Public Member Functions | |
CatmullRomInterpolatorDouble () | |
CatmullRomInterpolatorDouble (const std::vector< double > &path) | |
double | computePoint (float t) const |
Samples the interpolator at the given point. | |
CatmullRomInterpolatorDouble_T * | interpolator () |
const CatmullRomInterpolatorDouble_T * | interpolator () const |
void | setInterpolator (CatmullRomInterpolatorDouble_T *interpolator) |
Protected Attributes | |
ref < CatmullRomInterpolatorDouble_T > | mInterpolator |
Interpolates double
values using a CatmullRomInterpolator.
Definition at line 251 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorDouble::CatmullRomInterpolatorDouble | ( | ) | [inline] |
Definition at line 255 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorDouble::CatmullRomInterpolatorDouble | ( | const std::vector< double > & | path ) | [inline] |
Definition at line 256 of file CatmullRomInterpolator.hpp.
double vl::CatmullRomInterpolatorDouble::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorDouble.
Definition at line 257 of file CatmullRomInterpolator.hpp.
References vl::CatmullRomInterpolator< T >::computePoint(), and interpolator().
CatmullRomInterpolatorDouble_T* vl::CatmullRomInterpolatorDouble::interpolator | ( | ) | [inline] |
Definition at line 258 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const CatmullRomInterpolatorDouble_T* vl::CatmullRomInterpolatorDouble::interpolator | ( | ) | const [inline] |
Definition at line 259 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::CatmullRomInterpolatorDouble::setInterpolator | ( | CatmullRomInterpolatorDouble_T * | interpolator ) | [inline] |
Definition at line 260 of file CatmullRomInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 262 of file CatmullRomInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().