Go to the documentation of this file.
10 #ifndef QWT_COLOR_MAP_H
11 #define QWT_COLOR_MAP_H
18 #if QT_VERSION < 0x060000
19 template<
typename T >
class QVector;
66 void setFormat( Format );
76 virtual QRgb
rgb(
const QwtInterval& interval,
double value )
const = 0;
78 virtual uint colorIndex(
int numColors,
121 void setMode( Mode );
124 void setColorInterval(
const QColor& color1,
const QColor& color2 );
125 void addColorStop(
double value,
const QColor& );
128 QColor color1()
const;
129 QColor color2()
const;
134 virtual uint colorIndex(
int numColors,
153 void setAlphaInterval(
int alpha1,
int alpha2 );
158 void setColor(
const QColor& );
159 QColor
color()
const;
186 void setHueInterval(
int hue1,
int hue2 );
187 void setSaturation(
int saturation );
188 void setValue(
int value );
189 void setAlpha(
int alpha );
193 int saturation()
const;
220 void setHue(
int hue );
221 void setSaturationInterval(
int sat1,
int sat2 );
222 void setValueInterval(
int value1,
int value2 );
223 void setAlpha(
int alpha );
226 int saturation1()
const;
227 int saturation2()
const;
250 return QColor::fromRgba(
rgb( interval, value ) );
@ FixedColors
Return the color from the next lower color stop.
QwtLinearColorMap builds a color map from color stops.
QwtSaturationValueColorMap varies the saturation and/or value for a given hue in the HSV color model.
@ RGB
The map is intended to map into RGB values.
A class representing an interval.
QColor color(const QwtInterval &, double value) const
QwtAlphaColorMap varies the alpha value of a color.
auto format(const text_style &ts, const S &format_str, const Args &... args) -> std::basic_string< Char >
virtual QRgb rgb(const QwtInterval &interval, double value) const =0
QwtColorMap is used to map values into colors.
QwtHueColorMap varies the hue value of the HSV color model.
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45