Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates dvec2 values using a CatmullRomInterpolator. More...
#include <CatmullRomInterpolator.hpp>
Public Member Functions | |
CatmullRomInterpolatorDVec2 () | |
CatmullRomInterpolatorDVec2 (const std::vector< dvec2 > &path) | |
dvec2 | computePoint (float t) const |
Samples the interpolator at the given point. | |
CatmullRomInterpolatorDVec2_T * | interpolator () |
const CatmullRomInterpolatorDVec2_T * | interpolator () const |
void | setInterpolator (CatmullRomInterpolatorDVec2_T *interpolator) |
Protected Attributes | |
ref < CatmullRomInterpolatorDVec2_T > | mInterpolator |
Interpolates dvec2 values using a CatmullRomInterpolator.
Definition at line 237 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorDVec2::CatmullRomInterpolatorDVec2 | ( | ) | [inline] |
Definition at line 241 of file CatmullRomInterpolator.hpp.
vl::CatmullRomInterpolatorDVec2::CatmullRomInterpolatorDVec2 | ( | const std::vector< dvec2 > & | path ) | [inline] |
Definition at line 242 of file CatmullRomInterpolator.hpp.
dvec2 vl::CatmullRomInterpolatorDVec2::computePoint | ( | float | t ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorDVec2.
Definition at line 243 of file CatmullRomInterpolator.hpp.
References vl::CatmullRomInterpolator< T >::computePoint(), and interpolator().
CatmullRomInterpolatorDVec2_T* vl::CatmullRomInterpolatorDVec2::interpolator | ( | ) | [inline] |
Definition at line 244 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
const CatmullRomInterpolatorDVec2_T* vl::CatmullRomInterpolatorDVec2::interpolator | ( | ) | const [inline] |
Definition at line 245 of file CatmullRomInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
void vl::CatmullRomInterpolatorDVec2::setInterpolator | ( | CatmullRomInterpolatorDVec2_T * | interpolator ) | [inline] |
Definition at line 246 of file CatmullRomInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 248 of file CatmullRomInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().