Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates dvec3 values using a CatmullRomInterpolator. More...
#include <CatmullRomInterpolator.hpp>
Public Member Functions | |
CatmullRomInterpolatorDVec3 () | |
CatmullRomInterpolatorDVec3 (const std::vector< dvec3 > &path) | |
dvec3 | computePoint (float t) const |
Samples the interpolator at the given point. | |
CatmullRomInterpolatorDVec3_T * | interpolator () |
const CatmullRomInterpolatorDVec3_T * | interpolator () const |
void | setInterpolator (CatmullRomInterpolatorDVec3_T *interpolator) |
Protected Attributes | |
ref < CatmullRomInterpolatorDVec3_T > | mInterpolator |
Interpolates dvec3 values using a CatmullRomInterpolator.
Definition at line 223 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorDVec3::CatmullRomInterpolatorDVec3 | ( | ) | [inline] |
Definition at line 227 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorDVec3::CatmullRomInterpolatorDVec3 | ( | const std::vector< dvec3 > & | path ) | [inline] |
Definition at line 228 of file CatmullRomInterpolator.hpp.
dvec3 vl::CatmullRomInterpolatorDVec3::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorDVec3.
Definition at line 229 of file CatmullRomInterpolator.hpp.
References vl::CatmullRomInterpolator< T >::computePoint(), and interpolator().
CatmullRomInterpolatorDVec3_T* vl::CatmullRomInterpolatorDVec3::interpolator | ( | ) | [inline] |
Definition at line 230 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const CatmullRomInterpolatorDVec3_T* vl::CatmullRomInterpolatorDVec3::interpolator | ( | ) | const [inline] |
Definition at line 231 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::CatmullRomInterpolatorDVec3::setInterpolator | ( | CatmullRomInterpolatorDVec3_T * | interpolator ) | [inline] |
Definition at line 232 of file CatmullRomInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 234 of file CatmullRomInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().