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