7 #ifndef COLOR_FILTER_SETTINGS_STRATEGY_ABSTRACT_BASE_H 8 #define COLOR_FILTER_SETTINGS_STRATEGY_ABSTRACT_BASE_H 34 QTextStream &str)
const = 0;
45 #endif // COLOR_FILTER_SETTINGS_STRATEGY_ABSTRACT_BASE_H Color filter parameters for one curve. For a class, this is handled the same as LineStyle and PointSt...
Base class for strategy pattern whose subclasses process the different color filter settings modes (o...
virtual void printStream(const ColorFilterSettings &colorFilterSettings, QString indentation, QTextStream &str) const =0
Print the low and high values.
ColorFilterSettingsStrategyAbstractBase()
Single constructor.
virtual void setHigh(ColorFilterSettings &colorFilterSettings, double s0To1)=0
Set the high value given the normalized value.
virtual void setLow(ColorFilterSettings &colorFilterSettings, double s0To1)=0
Set the low value given the normalized value.
virtual double high(const ColorFilterSettings &colorFilterSettings) const =0
Return the high value normalized to 0 to 1.
virtual double low(const ColorFilterSettings &colorFilterSettings) const =0
Return the low value normalized to 0 to 1.