Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates fvec3 values using a LinearInterpolator. More...
#include <LinearInterpolator.hpp>
Public Member Functions | |
LinearInterpolatorFVec3 () | |
LinearInterpolatorFVec3 (const std::vector< fvec3 > &path) | |
fvec3 | computePoint (float t) const |
Samples the interpolator at the given point. | |
LinearInterpolatorFVec3_T * | interpolator () |
const LinearInterpolatorFVec3_T * | interpolator () const |
void | setInterpolator (LinearInterpolatorFVec3_T *interpolator) |
Protected Attributes | |
ref< LinearInterpolatorFVec3_T > | mInterpolator |
Interpolates fvec3 values using a LinearInterpolator.
Definition at line 110 of file LinearInterpolator.hpp.
vl::LinearInterpolatorFVec3::LinearInterpolatorFVec3 | ( | ) | [inline] |
Definition at line 114 of file LinearInterpolator.hpp.
vl::LinearInterpolatorFVec3::LinearInterpolatorFVec3 | ( | const std::vector< fvec3 > & | path ) | [inline] |
Definition at line 115 of file LinearInterpolator.hpp.
fvec3 vl::LinearInterpolatorFVec3::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorFVec3.
Definition at line 116 of file LinearInterpolator.hpp.
References vl::LinearInterpolator< T >::computePoint(), and interpolator().
LinearInterpolatorFVec3_T* vl::LinearInterpolatorFVec3::interpolator | ( | ) | [inline] |
Definition at line 117 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const LinearInterpolatorFVec3_T* vl::LinearInterpolatorFVec3::interpolator | ( | ) | const [inline] |
Definition at line 118 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::LinearInterpolatorFVec3::setInterpolator | ( | LinearInterpolatorFVec3_T * | interpolator ) | [inline] |
Definition at line 119 of file LinearInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 121 of file LinearInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().