#include <gradientmath.h>

This class adds a little convenience to setup a gradient for a set of interpolation modes given as MAXON_ATTRIBUTE. For example, a gradient can be configured as such:
Additional Inherited Members | |
  Public Member Functions inherited from IndexedGradientSampler< T_ModeNone::HASHCODE::value, T_ModeLinearKnot::HASHCODE::value, T_ModeSmoothKnot::HASHCODE::value, T_ModeBlend::HASHCODE::value, T_ModeCubicKnot::HASHCODE::value, T_ModeCubicBias::HASHCODE::value > | |
| Result< ValueType > | Sample (typename SortedKnotsType::FloatType absolutePosition, const SortedKnotsType &sortedKnots, const GetKnotValueFunc &getKnotValue, const GetKnotInterpolationModeFunc &getKnotInterpolationMode, const GetKnotBiasFunc &getKnotBias) const |