11 #include <QTextStream>
35 QTextStream &str)
const
37 str << indentation <<
"intensityLow=" << colorFilterSettings.
intensityLow () <<
"\n";
38 str << indentation <<
"intensityHigh=" << colorFilterSettings.
intensityHigh () <<
"\n";
virtual void printStream(const ColorFilterSettings &colorFilterSettings, QString indentation, QTextStream &str) const
Print the low and high values.
Color filter parameters for one curve. For a class, this is handled the same as LineStyle and PointSt...
~ColorFilterSettingsStrategyIntensity()
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 low(const ColorFilterSettings &colorFilterSettings) const
Return the low value normalized to 0 to 1.
ColorFilterSettingsStrategyIntensity()
Single constructor.
void setIntensityHigh(int intensityHigh)
Set method for intensity higher bound.
const int INTENSITY_MIN
Constants for use by CurveFilter and other curve-related classes.
virtual double high(const ColorFilterSettings &colorFilterSettings) const
Return the high value normalized to 0 to 1.
int intensityHigh() const
Get method for intensity higher bound.
void setIntensityLow(int intensityLow)
Set method for intensity lower bound.
int intensityLow() const
Get method for intensity lower bound.