Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Interpolates double values using a LinearInterpolator.
More...
#include <LinearInterpolator.hpp>
Public Member Functions | |
| LinearInterpolatorDouble () | |
| LinearInterpolatorDouble (const std::vector< double > &path) | |
| double | computePoint (float t) const |
| Samples the interpolator at the given point. | |
| LinearInterpolatorDouble_T * | interpolator () |
| const LinearInterpolatorDouble_T * | interpolator () const |
| void | setInterpolator (LinearInterpolatorDouble_T *interpolator) |
Protected Attributes | |
| ref< LinearInterpolatorDouble_T > | mInterpolator |
Interpolates double values using a LinearInterpolator.
Definition at line 194 of file LinearInterpolator.hpp.
| vl::LinearInterpolatorDouble::LinearInterpolatorDouble | ( | ) | [inline] |
Definition at line 198 of file LinearInterpolator.hpp.
| vl::LinearInterpolatorDouble::LinearInterpolatorDouble | ( | const std::vector< double > & | path | ) | [inline] |
Definition at line 199 of file LinearInterpolator.hpp.
| double vl::LinearInterpolatorDouble::computePoint | ( | float | t | ) | const [inline, virtual] |
Samples the interpolator at the given point.
Implements vl::InterpolatorDouble.
Definition at line 200 of file LinearInterpolator.hpp.
References vl::LinearInterpolator< T >::computePoint(), and interpolator().
| LinearInterpolatorDouble_T* vl::LinearInterpolatorDouble::interpolator | ( | ) | [inline] |
Definition at line 201 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
Referenced by computePoint(), and setInterpolator().
| const LinearInterpolatorDouble_T* vl::LinearInterpolatorDouble::interpolator | ( | ) | const [inline] |
Definition at line 202 of file LinearInterpolator.hpp.
References vl::ref< T >::get(), and mInterpolator.
| void vl::LinearInterpolatorDouble::setInterpolator | ( | LinearInterpolatorDouble_T * | interpolator | ) | [inline] |
Definition at line 203 of file LinearInterpolator.hpp.
References interpolator(), and mInterpolator.
Definition at line 205 of file LinearInterpolator.hpp.
Referenced by interpolator(), and setInterpolator().