Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates fvec2 values using a LinearInterpolator. More...
#include <LinearInterpolator.hpp>
Public Member Functions | |
LinearInterpolatorFVec2 () | |
LinearInterpolatorFVec2 (const std::vector< fvec2 > &path) | |
fvec2 | computePoint (float t) const |
Samples the interpolator at the given point. | |
LinearInterpolatorFVec2_T * | interpolator () |
const LinearInterpolatorFVec2_T * | interpolator () const |
void | setInterpolator (LinearInterpolatorFVec2_T *interpolator) |
Protected Attributes | |
ref< LinearInterpolatorFVec2_T > | mInterpolator |
Interpolates fvec2 values using a LinearInterpolator.
Definition at line 124 of file LinearInterpolator.hpp.
vl::LinearInterpolatorFVec2::LinearInterpolatorFVec2 | ( | ) | [inline] |
Definition at line 128 of file LinearInterpolator.hpp.
vl::LinearInterpolatorFVec2::LinearInterpolatorFVec2 | ( | const std::vector< fvec2 > & | path ) | [inline] |
Definition at line 129 of file LinearInterpolator.hpp.
fvec2 vl::LinearInterpolatorFVec2::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorFVec2.
Definition at line 130 of file LinearInterpolator.hpp.
References vl::LinearInterpolator< T >::computePoint(), and interpolator().
LinearInterpolatorFVec2_T* vl::LinearInterpolatorFVec2::interpolator | ( | ) | [inline] |
Definition at line 131 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const LinearInterpolatorFVec2_T* vl::LinearInterpolatorFVec2::interpolator | ( | ) | const [inline] |
Definition at line 132 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::LinearInterpolatorFVec2::setInterpolator | ( | LinearInterpolatorFVec2_T * | interpolator ) | [inline] |
Definition at line 133 of file LinearInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 135 of file LinearInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().