|
cgv
|
Public Member Functions | |
| std::unique_ptr< interpolator< ValueT, ParamT > > | clone () const override |
| ValueT | at (ParamT t) const override |
| std::vector< ValueT > | quantize (size_t n) const override |
| Return a sequence of n uniformly-spaced samples from the interpolator within the parameter range [0,1]. | |
| Public Member Functions inherited from cgv::math::interpolator< ValueT, float > | |
| virtual ValueT | at (float t) const=0 |
| Return the interpolated value at position t. | |
Additional Inherited Members | |
| Public Types inherited from cgv::math::piecewise_interpolator_storage< ValueT, ValueT, float > | |
| using | point_type |
| Public Attributes inherited from cgv::math::piecewise_interpolator_storage< ValueT, ValueT, float > | |
| std::vector< point_type > | points |
Definition at line 644 of file interpolate.h.
|
inlineoverride |
Definition at line 654 of file interpolate.h.
|
inlineoverridevirtual |
Implements cgv::math::interpolator< ValueT, float >.
Definition at line 650 of file interpolate.h.
|
inlineoverridevirtual |
Return a sequence of n uniformly-spaced samples from the interpolator within the parameter range [0,1].
The first sample is always located at t = 0 and the last sample is always located at t = 1. A derived class might override this function in order to provide a more efficient implementation.
| n | The number of samples to be evaluated. |
Reimplemented from cgv::math::interpolator< ValueT, float >.
Definition at line 658 of file interpolate.h.