|
wavelength 1.0.0
|
#include "script/dataarray.h"

Go to the source code of this file.
Classes | |
| class | Interpolator |
| Map from an input range to an output range, clamped at both ends. More... | |
| class | LinearInterpolator |
| Straight-line interpolator. More... | |
| class | ExpInterpolator |
| Interpolator whose output follows a power of the input's position in the range. More... | |
| class | InvExpInterpolator |
| Interpolator that mirrors ExpInterpolator, easing out of the start of the range. More... | |
| class | ATanInterpolator |
| Interpolator that follows an arctangent, which eases in and out of the range. More... | |
| class | TableInterpolator |
| Interpolator that reads the nearest entry of an evenly spaced table. More... | |
| class | TableLinInterpolator |
| Interpolator that blends linearly between the two entries of a table around an input. More... | |
Functions | |
| Interpolator * | ObjectToInterpolator (const DataArray *pArray) |
| Build the interpolator a configuration array describes. | |
| Interpolator * ObjectToInterpolator | ( | const DataArray * | pArray | ) |
Build the interpolator a configuration array describes.
The first symbol selects the class: linear, exp, invexp, atan, table, or tablelin. The first four numbers that follow are the end points in Reset() order. exp and invexp take an optional exponent (2 by default) and atan an optional severity (10 by default). table and tablelin take the input range and then the table entries.
| pArray | The array. |