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