Predefined mapper types. More...
Public Types | |
enum | Type { Linear, Exponential, QuinticRoot, QuarticRoot, CubeRoot, SquareRoot, Quadratic, Cubic, Quartic, Quintic } |
Predefined mapper types.
Mappers are named after the function mapping from the widget's normalized range to the parameter's natural range.
e.g.: an exponential mapper from [0;1] to [1;10000] would have the following correspondances:
position | parameter |
---|---|
0% | 1.0 |
25% | 10.0 |
50% | 100.0 |
75% | 1000.0 |
100% | 10000.0 |
Example:
enum Mapper::Type |