1 #ifndef GRAIL_SINGLE_STEP_FUNCTION_H
2 #define GRAIL_SINGLE_STEP_FUNCTION_H
14 UnitStepFunction(
float initThreshold,
float beforeThresholdValue,
float afterThresholdValue);
16 virtual float Sample(
float argument)
const override;
18 float GetThreshold()
const;
19 float GetBeforeThresholdValue()
const;
20 float GetAfterThresholdValue()
const;
22 CurveTypeId GetTypeId()
const override;
25 float threshold = 0.0f;
26 float beforeThresholdValue = 0.0f;
27 float afterThresholdValue = 0.0f;
The Curve class - Defines objects transforming one value into the other.
Definition: Curve.hh:17
Definition: UnitStepFunction.hh:12
virtual float Sample(float argument) const override
Sample - User-defined method which processes provided value (currently vector of values - multidemens...
Definition: UnitStepFunction.cpp:15