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