Go to the documentation of this file.
11 #include <QTextStream>
35 QTextStream &str)
const
37 str << indentation <<
"foregroundLow=" << colorFilterSettings.
intensityLow () <<
"\n";
38 str << indentation <<
"foregroundHigh=" << colorFilterSettings.
intensityHigh () <<
"\n";
int intensityLow() const
Get method for intensity lower bound.
virtual void printStream(const ColorFilterSettings &colorFilterSettings, QString indentation, QTextStream &str) const
Print the low and high values.
int intensityHigh() const
Get method for intensity higher bound.
Color filter parameters for one curve. For a class, this is handled the same as LineStyle and PointSt...
void setForegroundLow(int foregroundLow)
Set method for foreground lower bound.
void setForegroundHigh(int foregroundHigh)
Set method for foreground higher bound.
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.
int foregroundLow() const
Get method for foreground lower bound.
int foregroundHigh() const
Get method for foreground higher bound.