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