Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates fvec4 values using a CatmullRomInterpolator. More...
#include <CatmullRomInterpolator.hpp>
Public Member Functions | |
CatmullRomInterpolatorFVec4 () | |
CatmullRomInterpolatorFVec4 (const std::vector< fvec4 > &path) | |
fvec4 | computePoint (float t) const |
Samples the interpolator at the given point. | |
CatmullRomInterpolatorFVec4_T * | interpolator () |
const CatmullRomInterpolatorFVec4_T * | interpolator () const |
void | setInterpolator (CatmullRomInterpolatorFVec4_T *interpolator) |
Protected Attributes | |
ref < CatmullRomInterpolatorFVec4_T > | mInterpolator |
Interpolates fvec4 values using a CatmullRomInterpolator.
Definition at line 153 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorFVec4::CatmullRomInterpolatorFVec4 | ( | ) | [inline] |
Definition at line 157 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorFVec4::CatmullRomInterpolatorFVec4 | ( | const std::vector< fvec4 > & | path ) | [inline] |
Definition at line 158 of file CatmullRomInterpolator.hpp.
fvec4 vl::CatmullRomInterpolatorFVec4::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorFVec4.
Definition at line 159 of file CatmullRomInterpolator.hpp.
References vl::CatmullRomInterpolator< T >::computePoint(), and interpolator().
CatmullRomInterpolatorFVec4_T* vl::CatmullRomInterpolatorFVec4::interpolator | ( | ) | [inline] |
Definition at line 160 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const CatmullRomInterpolatorFVec4_T* vl::CatmullRomInterpolatorFVec4::interpolator | ( | ) | const [inline] |
Definition at line 161 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::CatmullRomInterpolatorFVec4::setInterpolator | ( | CatmullRomInterpolatorFVec4_T * | interpolator ) | [inline] |
Definition at line 162 of file CatmullRomInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 164 of file CatmullRomInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().