Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates float
values using a LinearInterpolator.
More...
#include <LinearInterpolator.hpp>
Public Member Functions | |
LinearInterpolatorFloat () | |
LinearInterpolatorFloat (const std::vector< float > &path) | |
float | computePoint (float t) const |
Samples the interpolator at the given point. | |
LinearInterpolatorFloat_T * | interpolator () |
const LinearInterpolatorFloat_T * | interpolator () const |
void | setInterpolator (LinearInterpolatorFloat_T *interpolator) |
Protected Attributes | |
ref< LinearInterpolatorFloat_T > | mInterpolator |
Interpolates float
values using a LinearInterpolator.
Definition at line 138 of file LinearInterpolator.hpp.
vl::LinearInterpolatorFloat::LinearInterpolatorFloat | ( | ) | [inline] |
Definition at line 142 of file LinearInterpolator.hpp.
vl::LinearInterpolatorFloat::LinearInterpolatorFloat | ( | const std::vector< float > & | path ) | [inline] |
Definition at line 143 of file LinearInterpolator.hpp.
float vl::LinearInterpolatorFloat::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorFloat.
Definition at line 144 of file LinearInterpolator.hpp.
References vl::LinearInterpolator< T >::computePoint(), and interpolator().
LinearInterpolatorFloat_T* vl::LinearInterpolatorFloat::interpolator | ( | ) | [inline] |
Definition at line 145 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const LinearInterpolatorFloat_T* vl::LinearInterpolatorFloat::interpolator | ( | ) | const [inline] |
Definition at line 146 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::LinearInterpolatorFloat::setInterpolator | ( | LinearInterpolatorFloat_T * | interpolator ) | [inline] |
Definition at line 147 of file LinearInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 149 of file LinearInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().