Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates dvec4 values using a CatmullRomInterpolator. More...
#include <CatmullRomInterpolator.hpp>
Public Member Functions | |
CatmullRomInterpolatorDVec4 () | |
CatmullRomInterpolatorDVec4 (const std::vector< dvec4 > &path) | |
dvec4 | computePoint (float t) const |
Samples the interpolator at the given point. | |
CatmullRomInterpolatorDVec4_T * | interpolator () |
const CatmullRomInterpolatorDVec4_T * | interpolator () const |
void | setInterpolator (CatmullRomInterpolatorDVec4_T *interpolator) |
Protected Attributes | |
ref < CatmullRomInterpolatorDVec4_T > | mInterpolator |
Interpolates dvec4 values using a CatmullRomInterpolator.
Definition at line 209 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorDVec4::CatmullRomInterpolatorDVec4 | ( | ) | [inline] |
Definition at line 213 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorDVec4::CatmullRomInterpolatorDVec4 | ( | const std::vector< dvec4 > & | path ) | [inline] |
Definition at line 214 of file CatmullRomInterpolator.hpp.
dvec4 vl::CatmullRomInterpolatorDVec4::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorDVec4.
Definition at line 215 of file CatmullRomInterpolator.hpp.
References vl::CatmullRomInterpolator< T >::computePoint(), and interpolator().
CatmullRomInterpolatorDVec4_T* vl::CatmullRomInterpolatorDVec4::interpolator | ( | ) | [inline] |
Definition at line 216 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const CatmullRomInterpolatorDVec4_T* vl::CatmullRomInterpolatorDVec4::interpolator | ( | ) | const [inline] |
Definition at line 217 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::CatmullRomInterpolatorDVec4::setInterpolator | ( | CatmullRomInterpolatorDVec4_T * | interpolator ) | [inline] |
Definition at line 218 of file CatmullRomInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 220 of file CatmullRomInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().