Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates dvec2 values using a LinearInterpolator. More...
#include <LinearInterpolator.hpp>
Public Member Functions | |
LinearInterpolatorDVec2 () | |
LinearInterpolatorDVec2 (const std::vector< dvec2 > &path) | |
dvec2 | computePoint (float t) const |
Samples the interpolator at the given point. | |
LinearInterpolatorDVec2_T * | interpolator () |
const LinearInterpolatorDVec2_T * | interpolator () const |
void | setInterpolator (LinearInterpolatorDVec2_T *interpolator) |
Protected Attributes | |
ref< LinearInterpolatorDVec2_T > | mInterpolator |
Interpolates dvec2 values using a LinearInterpolator.
Definition at line 180 of file LinearInterpolator.hpp.
vl::LinearInterpolatorDVec2::LinearInterpolatorDVec2 | ( | ) | [inline] |
Definition at line 184 of file LinearInterpolator.hpp.
vl::LinearInterpolatorDVec2::LinearInterpolatorDVec2 | ( | const std::vector< dvec2 > & | path ) | [inline] |
Definition at line 185 of file LinearInterpolator.hpp.
dvec2 vl::LinearInterpolatorDVec2::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorDVec2.
Definition at line 186 of file LinearInterpolator.hpp.
References vl::LinearInterpolator< T >::computePoint(), and interpolator().
LinearInterpolatorDVec2_T* vl::LinearInterpolatorDVec2::interpolator | ( | ) | [inline] |
Definition at line 187 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const LinearInterpolatorDVec2_T* vl::LinearInterpolatorDVec2::interpolator | ( | ) | const [inline] |
Definition at line 188 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::LinearInterpolatorDVec2::setInterpolator | ( | LinearInterpolatorDVec2_T * | interpolator ) | [inline] |
Definition at line 189 of file LinearInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 191 of file LinearInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().