Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates float
values using a CatmullRomInterpolator.
More...
#include <CatmullRomInterpolator.hpp>
Public Member Functions | |
CatmullRomInterpolatorFloat () | |
CatmullRomInterpolatorFloat (const std::vector< float > &path) | |
float | computePoint (float t) const |
Samples the interpolator at the given point. | |
CatmullRomInterpolatorFloat_T * | interpolator () |
const CatmullRomInterpolatorFloat_T * | interpolator () const |
void | setInterpolator (CatmullRomInterpolatorFloat_T *interpolator) |
Protected Attributes | |
ref < CatmullRomInterpolatorFloat_T > | mInterpolator |
Interpolates float
values using a CatmullRomInterpolator.
Definition at line 195 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorFloat::CatmullRomInterpolatorFloat | ( | ) | [inline] |
Definition at line 199 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorFloat::CatmullRomInterpolatorFloat | ( | const std::vector< float > & | path ) | [inline] |
Definition at line 200 of file CatmullRomInterpolator.hpp.
float vl::CatmullRomInterpolatorFloat::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorFloat.
Definition at line 201 of file CatmullRomInterpolator.hpp.
References vl::CatmullRomInterpolator< T >::computePoint(), and interpolator().
CatmullRomInterpolatorFloat_T* vl::CatmullRomInterpolatorFloat::interpolator | ( | ) | [inline] |
Definition at line 202 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const CatmullRomInterpolatorFloat_T* vl::CatmullRomInterpolatorFloat::interpolator | ( | ) | const [inline] |
Definition at line 203 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::CatmullRomInterpolatorFloat::setInterpolator | ( | CatmullRomInterpolatorFloat_T * | interpolator ) | [inline] |
Definition at line 204 of file CatmullRomInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 206 of file CatmullRomInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().