These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.
optris::Slope
y(x) = gain * x + offset
Public attributes
gain
float gain = 1.F
Gain of the linear transformation.
offset
float offset = 0.F
Offset of the linear transformation.