Engauge Digitizer
2
|
Model for DlgSettingsColorFilter and CmdSettingsColorFilter. More...
#include <DocumentModelColorFilter.h>
Public Member Functions | |
DocumentModelColorFilter () | |
Default constructor. | |
DocumentModelColorFilter (const DocumentModelColorFilter &other) | |
Copy constructor. | |
DocumentModelColorFilter (const CoordSystem &coordSystem) | |
Initial constructor from CoordSystem. | |
DocumentModelColorFilter & | operator= (const DocumentModelColorFilter &other) |
Assignment constructor. | |
ColorFilterMode | colorFilterMode (const QString &curveName) const |
Get method for filter mode. | |
const ColorFilterSettings | colorFilterSettings (const QString &curveName) const |
Get method for copying one color filter. Cannot return just a reference or else there is a warning about returning reference to temporary. | |
const ColorFilterSettingsList & | colorFilterSettingsList () const |
Get method for copying all color filters in one step. | |
int | foregroundHigh (const QString &curveName) const |
Get method for foreground higher bound. | |
int | foregroundLow (const QString &curveName) const |
Get method for foreground lower bound. | |
double | high (const QString &curveName) const |
High value of foreground, hue, intensity, saturation or value according to current filter mode. More... | |
int | hueHigh (const QString &curveName) const |
Get method for hue higher bound. | |
int | hueLow (const QString &curveName) const |
Get method for hue lower bound. | |
int | intensityHigh (const QString &curveName) const |
Get method for intensity higher bound. | |
int | intensityLow (const QString &curveName) const |
Get method for intensity lower bound. | |
virtual void | loadXml (QXmlStreamReader &reader) |
Load model from serialized xml. | |
double | low (const QString &curveName) const |
Low value of foreground, hue, intensity, saturation or value according to current filter mode normalized to 0 to 1. More... | |
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 QString &curveName) const |
Get method for saturation higher bound. | |
int | saturationLow (const QString &curveName) const |
Get method for saturation lower bound. | |
virtual void | saveXml (QXmlStreamWriter &writer) const |
Save entire model as xml into stream. | |
void | setColorFilterMode (const QString &curveName, ColorFilterMode colorFilterMode) |
Set method for filter mode. | |
void | setForegroundHigh (const QString &curveName, int foregroundHigh) |
Set method for foreground higher bound. | |
void | setForegroundLow (const QString &curveName, int foregroundLow) |
Set method for foreground lower bound. | |
void | setHigh (const QString &curveName, double s0To1) |
Set the high value for the current filter mode. | |
void | setHueHigh (const QString &curveName, int hueHigh) |
Set method for hue higher bound. | |
void | setHueLow (const QString &curveName, int hueLow) |
Set method for hue lower bound. | |
void | setIntensityHigh (const QString &curveName, int intensityHigh) |
Set method for intensity higher bound. | |
void | setIntensityLow (const QString &curveName, int intensityLow) |
Set method for intensity lower bound. | |
void | setLow (const QString &curveName, double s0To1) |
Set the low value for the current filter mode. | |
void | setSaturationHigh (const QString &curveName, int saturationHigh) |
Set method for saturation high. | |
void | setSaturationLow (const QString &curveName, int saturationLow) |
Set method for saturation low. | |
void | setValueHigh (const QString &curveName, int valueHigh) |
Set method for value high. | |
void | setValueLow (const QString &curveName, int valueLow) |
Set method for value low. | |
int | valueHigh (const QString &curveName) const |
Get method for value high. | |
int | valueLow (const QString &curveName) const |
Get method for value low. | |
![]() | |
DocumentModelAbstractBase () | |
Single constructor. | |
virtual | ~DocumentModelAbstractBase () |
Single destructor. | |
Additional Inherited Members |
Model for DlgSettingsColorFilter and CmdSettingsColorFilter.
Definition at line 21 of file DocumentModelColorFilter.h.
double DocumentModelColorFilter::high | ( | const QString & | curveName | ) | const |
High value of foreground, hue, intensity, saturation or value according to current filter mode.
normalized to 0 to 1.
Definition at line 105 of file DocumentModelColorFilter.cpp.
double DocumentModelColorFilter::low | ( | const QString & | curveName | ) | const |
Low value of foreground, hue, intensity, saturation or value according to current filter mode normalized to 0 to 1.
Definition at line 212 of file DocumentModelColorFilter.cpp.