|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
QwtSaturationValueColorMap varies the saturation and/or value for a given hue in the HSV color model. More...
#include <qwt_color_map.h>
Classes | |
| class | PrivateData |
Public Member Functions | |
| QwtSaturationValueColorMap () | |
| Constructor. | |
| virtual | ~QwtSaturationValueColorMap () |
| Destructor. | |
| void | setHue (int hue) |
| Set the hue coordinate. | |
| void | setSaturationInterval (int sat1, int sat2) |
| Set the interval for the saturation coordinate. | |
| void | setValueInterval (int value1, int value2) |
| Set the interval for the value coordinate. | |
| void | setAlpha (int alpha) |
| Set the alpha coordinate. | |
| int | hue () const |
| Return hue coordinate. | |
| int | saturation1 () const |
| Return first saturation coordinate. | |
| int | saturation2 () const |
| Return second saturation coordinate. | |
| int | value1 () const |
| Return first value coordinate. | |
| int | value2 () const |
| Return second value coordinate. | |
| int | alpha () const |
| Return alpha coordinate. | |
| virtual QRgb | rgb (const QwtInterval &, double value) const override |
| Map a value of a given interval into a RGB value. | |
Public Member Functions inherited from QwtColorMap | |
| QwtColorMap (Format=QwtColorMap::RGB) | |
| Constructor. | |
| virtual | ~QwtColorMap () |
| Destructor. | |
| void | setFormat (Format) |
| Set the format of the color map. | |
| Format | format () const |
| virtual uint | colorIndex (int numColors, const QwtInterval &interval, double value) const |
| Map a value of a given interval into a color index. | |
| QColor | color (const QwtInterval &, double value) const |
| virtual QVector< QRgb > | colorTable (int numColors) const |
| Build and return a color map of arbitrary number of colors. | |
| virtual QVector< QRgb > | colorTable256 () const |
| Build and return a color map of 256 colors. | |
Additional Inherited Members | |
Public Types inherited from QwtColorMap | |
| enum | Format { RGB , Indexed } |
| Format for color mapping. More... | |
QwtSaturationValueColorMap varies the saturation and/or value for a given hue in the HSV color model.
| QwtSaturationValueColorMap::QwtSaturationValueColorMap | ( | ) |
Constructor.
| int QwtSaturationValueColorMap::alpha | ( | ) | const |
Return alpha coordinate.
| int QwtSaturationValueColorMap::hue | ( | ) | const |
Return hue coordinate.
|
overridevirtual |
Map a value of a given interval into a RGB value.
Implements QwtColorMap.
| int QwtSaturationValueColorMap::saturation1 | ( | ) | const |
Return first saturation coordinate.
| int QwtSaturationValueColorMap::saturation2 | ( | ) | const |
Return second saturation coordinate.
| void QwtSaturationValueColorMap::setAlpha | ( | int | alpha | ) |
Set the alpha coordinate.
| void QwtSaturationValueColorMap::setHue | ( | int | hue | ) |
Set the hue coordinate.
| void QwtSaturationValueColorMap::setSaturationInterval | ( | int | saturation1, |
| int | saturation2 | ||
| ) |
Set the interval for the saturation coordinate.
| void QwtSaturationValueColorMap::setValueInterval | ( | int | value1, |
| int | value2 | ||
| ) |
Set the interval for the value coordinate.
| int QwtSaturationValueColorMap::value1 | ( | ) | const |
Return first value coordinate.
| int QwtSaturationValueColorMap::value2 | ( | ) | const |
Return second value coordinate.