|
Engauge Digitizer 2
|
Color filter parameters for one curve. For a class, this is handled the same as LineStyle and PointStyle. More...
#include <ColorFilterSettings.h>

Public Member Functions | |
| ColorFilterSettings () | |
| Default constructor only for use when this class is being stored by a container that requires the default constructor. | |
| ColorFilterSettings (ColorFilterMode colorFilterMode, int intensityLow, int intensityHigh, int foregroundLow, int foregroundHigh, int hueLow, int hueHigh, int saturationLow, int saturationHigh, int valueLow, int valueHigh) | |
| Normal constructor. The style type and radius are determined by the currently selected Curve. | |
| ColorFilterSettings (const ColorFilterSettings &other) | |
| Copy constructor. | |
| ColorFilterSettings (QXmlStreamReader &reader) | |
| Constructor when loading from serialized xml. | |
| ColorFilterSettings & | operator= (const ColorFilterSettings &other) |
| Assignment operator. | |
| ~ColorFilterSettings () | |
| Destructor deallocates memory. | |
| ColorFilterMode | colorFilterMode () const |
| Get method for filter mode. | |
| int | foregroundHigh () const |
| Get method for foreground higher bound. | |
| int | foregroundLow () const |
| Get method for foreground lower bound. | |
| double | high () const |
| High value of foreground, hue, intensity, saturation or value according to current filter mode, normalized to 0 to 1. | |
| int | hueHigh () const |
| Get method for hue higher bound. | |
| int | hueLow () const |
| Get method for hue lower bound. | |
| int | intensityHigh () const |
| Get method for intensity higher bound. | |
| int | intensityLow () const |
| Get method for intensity lower bound. | |
| void | loadXml (QXmlStreamReader &reader) |
| Load curve filter to stream. | |
| double | low () const |
| Low value of foreground, hue, intensity, saturation or value according to current filter mode, normalized to 0 to 1. | |
| void | printStream (QString indentation, QTextStream &str) const |
| Debugging method that supports print method of this class and printStream method of some other class(es). | |
| int | saturationHigh () const |
| Get method for saturation higher bound. | |
| int | saturationLow () const |
| Get method for saturation lower bound. | |
| void | saveXml (QXmlStreamWriter &writer, const QString &curveName) const |
| Save curve filter to stream. | |
| void | setColorFilterMode (ColorFilterMode colorFilterMode) |
| Set method for filter mode. | |
| void | setForegroundHigh (int foregroundHigh) |
| Set method for foreground higher bound. | |
| void | setForegroundLow (int foregroundLow) |
| Set method for foreground lower bound. | |
| void | setHigh (double s0To1) |
| Set the high value for the current filter mode. | |
| void | setHueHigh (int hueHigh) |
| Set method for hue higher bound. | |
| void | setHueLow (int hueLow) |
| Set method for hue lower bound. | |
| void | setIntensityHigh (int intensityHigh) |
| Set method for intensity higher bound. | |
| void | setIntensityLow (int intensityLow) |
| Set method for intensity lower bound. | |
| void | setLow (double s0To1) |
| Set the low value for the current filter mode. | |
| void | setSaturationHigh (int saturationHigh) |
| Set method for saturation high. | |
| void | setSaturationLow (int saturationLow) |
| Set method for saturation low. | |
| void | setValueHigh (int valueHigh) |
| Set method for value high. | |
| void | setValueLow (int valueLow) |
| Set method for value low. | |
| int | valueHigh () const |
| Get method for value high. | |
| int | valueLow () const |
| Get method for value low. | |
Static Public Member Functions | |
| static ColorFilterSettings | defaultFilter () |
| Initial default for any Curve. | |
Color filter parameters for one curve. For a class, this is handled the same as LineStyle and PointStyle.
Definition at line 19 of file ColorFilterSettings.h.
| ColorFilterSettings::ColorFilterSettings | ( | ) |
Default constructor only for use when this class is being stored by a container that requires the default constructor.
Definition at line 24 of file ColorFilterSettings.cpp.
| ColorFilterSettings::ColorFilterSettings | ( | ColorFilterMode | colorFilterMode, |
| int | intensityLow, | ||
| int | intensityHigh, | ||
| int | foregroundLow, | ||
| int | foregroundHigh, | ||
| int | hueLow, | ||
| int | hueHigh, | ||
| int | saturationLow, | ||
| int | saturationHigh, | ||
| int | valueLow, | ||
| int | valueHigh ) |
Normal constructor. The style type and radius are determined by the currently selected Curve.
Definition at line 40 of file ColorFilterSettings.cpp.
| ColorFilterSettings::ColorFilterSettings | ( | const ColorFilterSettings & | other | ) |
Copy constructor.
Definition at line 66 of file ColorFilterSettings.cpp.
| ColorFilterSettings::ColorFilterSettings | ( | QXmlStreamReader & | reader | ) |
Constructor when loading from serialized xml.
Definition at line 82 of file ColorFilterSettings.cpp.
| ColorFilterSettings::~ColorFilterSettings | ( | ) |
Destructor deallocates memory.
Definition at line 107 of file ColorFilterSettings.cpp.
| ColorFilterMode ColorFilterSettings::colorFilterMode | ( | ) | const |
Get method for filter mode.
Definition at line 112 of file ColorFilterSettings.cpp.
|
static |
Initial default for any Curve.
Definition at line 128 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::foregroundHigh | ( | ) | const |
Get method for foreground higher bound.
Definition at line 133 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::foregroundLow | ( | ) | const |
Get method for foreground lower bound.
Definition at line 138 of file ColorFilterSettings.cpp.
| double ColorFilterSettings::high | ( | ) | const |
High value of foreground, hue, intensity, saturation or value according to current filter mode, normalized to 0 to 1.
Definition at line 143 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::hueHigh | ( | ) | const |
Get method for hue higher bound.
Definition at line 157 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::hueLow | ( | ) | const |
Get method for hue lower bound.
Definition at line 162 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::intensityHigh | ( | ) | const |
Get method for intensity higher bound.
Definition at line 167 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::intensityLow | ( | ) | const |
Get method for intensity lower bound.
Definition at line 172 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::loadXml | ( | QXmlStreamReader & | reader | ) |
Load curve filter to stream.
Definition at line 177 of file ColorFilterSettings.cpp.
| double ColorFilterSettings::low | ( | ) | const |
Low value of foreground, hue, intensity, saturation or value according to current filter mode, normalized to 0 to 1.
Definition at line 226 of file ColorFilterSettings.cpp.
| ColorFilterSettings & ColorFilterSettings::operator= | ( | const ColorFilterSettings & | other | ) |
Assignment operator.
Definition at line 88 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::printStream | ( | QString | indentation, |
| QTextStream & | str ) const |
Debugging method that supports print method of this class and printStream method of some other class(es).
Definition at line 238 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::saturationHigh | ( | ) | const |
Get method for saturation higher bound.
Definition at line 253 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::saturationLow | ( | ) | const |
Get method for saturation lower bound.
Definition at line 258 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::saveXml | ( | QXmlStreamWriter & | writer, |
| const QString & | curveName ) const |
Save curve filter to stream.
Definition at line 263 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setColorFilterMode | ( | ColorFilterMode | colorFilterMode | ) |
Set method for filter mode.
Definition at line 285 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setForegroundHigh | ( | int | foregroundHigh | ) |
Set method for foreground higher bound.
Definition at line 290 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setForegroundLow | ( | int | foregroundLow | ) |
Set method for foreground lower bound.
Definition at line 296 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setHigh | ( | double | s0To1 | ) |
Set the high value for the current filter mode.
Definition at line 302 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setHueHigh | ( | int | hueHigh | ) |
Set method for hue higher bound.
Definition at line 314 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setHueLow | ( | int | hueLow | ) |
Set method for hue lower bound.
Definition at line 320 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setIntensityHigh | ( | int | intensityHigh | ) |
Set method for intensity higher bound.
Definition at line 326 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setIntensityLow | ( | int | intensityLow | ) |
Set method for intensity lower bound.
Definition at line 332 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setLow | ( | double | s0To1 | ) |
Set the low value for the current filter mode.
Definition at line 338 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setSaturationHigh | ( | int | saturationHigh | ) |
Set method for saturation high.
Definition at line 350 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setSaturationLow | ( | int | saturationLow | ) |
Set method for saturation low.
Definition at line 356 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setValueHigh | ( | int | valueHigh | ) |
Set method for value high.
Definition at line 362 of file ColorFilterSettings.cpp.
| void ColorFilterSettings::setValueLow | ( | int | valueLow | ) |
Set method for value low.
Definition at line 368 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::valueHigh | ( | ) | const |
Get method for value high.
Definition at line 374 of file ColorFilterSettings.cpp.
| int ColorFilterSettings::valueLow | ( | ) | const |
Get method for value low.
Definition at line 379 of file ColorFilterSettings.cpp.