11 #include <QTextStream>
35 QTextStream &str)
const
37 str << indentation <<
"saturationLow=" << colorFilterSettings.
saturationLow () <<
"\n";
38 str << indentation <<
"saturationHigh=" << colorFilterSettings.
saturationHigh () <<
"\n";
void setSaturationLow(int saturationLow)
Set method for saturation low.
virtual void printStream(const ColorFilterSettings &colorFilterSettings, QString indentation, QTextStream &str) const
Print the low and high values.
int saturationLow() const
Get method for saturation lower bound.
Color filter parameters for one curve. For a class, this is handled the same as LineStyle and PointSt...
virtual double low(const ColorFilterSettings &colorFilterSettings) const
Return the low value normalized to 0 to 1.
virtual void setLow(ColorFilterSettings &colorFilterSettings, double s0To1)
Set the low value given the normalized value.
~ColorFilterSettingsStrategySaturation()
int saturationHigh() const
Get method for saturation higher bound.
ColorFilterSettingsStrategySaturation()
Single constructor.
void setSaturationHigh(int saturationHigh)
Set method for saturation high.
virtual void setHigh(ColorFilterSettings &colorFilterSettings, double s0To1)
Set the high value given the normalized value.
virtual double high(const ColorFilterSettings &colorFilterSettings) const
Return the high value normalized to 0 to 1.