Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates dvec3 values using a LinearInterpolator. More...
#include <LinearInterpolator.hpp>
Public Member Functions | |
LinearInterpolatorDVec3 () | |
LinearInterpolatorDVec3 (const std::vector< dvec3 > &path) | |
dvec3 | computePoint (float t) const |
Samples the interpolator at the given point. | |
LinearInterpolatorDVec3_T * | interpolator () |
const LinearInterpolatorDVec3_T * | interpolator () const |
void | setInterpolator (LinearInterpolatorDVec3_T *interpolator) |
Protected Attributes | |
ref< LinearInterpolatorDVec3_T > | mInterpolator |
Interpolates dvec3 values using a LinearInterpolator.
Definition at line 166 of file LinearInterpolator.hpp.
vl::LinearInterpolatorDVec3::LinearInterpolatorDVec3 | ( | ) | [inline] |
Definition at line 170 of file LinearInterpolator.hpp.
vl::LinearInterpolatorDVec3::LinearInterpolatorDVec3 | ( | const std::vector< dvec3 > & | path ) | [inline] |
Definition at line 171 of file LinearInterpolator.hpp.
dvec3 vl::LinearInterpolatorDVec3::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorDVec3.
Definition at line 172 of file LinearInterpolator.hpp.
References vl::LinearInterpolator< T >::computePoint(), and interpolator().
LinearInterpolatorDVec3_T* vl::LinearInterpolatorDVec3::interpolator | ( | ) | [inline] |
Definition at line 173 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const LinearInterpolatorDVec3_T* vl::LinearInterpolatorDVec3::interpolator | ( | ) | const [inline] |
Definition at line 174 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::LinearInterpolatorDVec3::setInterpolator | ( | LinearInterpolatorDVec3_T * | interpolator ) | [inline] |
Definition at line 175 of file LinearInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 177 of file LinearInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().