Go to the documentation of this file.
7 #ifndef COLOR_FILTER_SETTINGS_STRATEGY_FOREGROUND_H
8 #define COLOR_FILTER_SETTINGS_STRATEGY_FOREGROUND_H
24 QTextStream &str)
const;
31 #endif // COLOR_FILTER_SETTINGS_STRATEGY_FOREGROUND_H
virtual void printStream(const ColorFilterSettings &colorFilterSettings, QString indentation, QTextStream &str) const
Print the low and high values.
Leaf class for foreground strategy for ColorFilterSettings.
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...
ColorFilterSettingsStrategyForeground()
Single constructor.
virtual double low(const ColorFilterSettings &colorFilterSettings) const
Return the low value normalized to 0 to 1.
~ColorFilterSettingsStrategyForeground()
virtual void setHigh(ColorFilterSettings &colorFilterSettings, double s0To1)
Set the high value given the normalized value.
virtual void setLow(ColorFilterSettings &colorFilterSettings, double s0To1)
Set the low value given the normalized value.
virtual double high(const ColorFilterSettings &colorFilterSettings) const
Return the high value normalized to 0 to 1.