Definition at line 160 of file qwt_color_map.h.
Public Member Functions | |
QwtAlphaColorMap (const QColor &=QColor(Qt::gray)) | |
QwtAlphaColorMap (const QwtAlphaColorMap &) | |
virtual | ~QwtAlphaColorMap () |
QwtAlphaColorMap & | operator= (const QwtAlphaColorMap &) |
virtual QwtColorMap * | copy () const |
void | setColor (const QColor &) |
QColor | color () const |
virtual QRgb | rgb (const QwtDoubleInterval &, double value) const |
|
Constructor
Definition at line 402 of file qwt_color_map.cpp. Referenced by copy(). |
|
Copy constructor
Definition at line 414 of file qwt_color_map.cpp. |
|
Destructor.
Definition at line 422 of file qwt_color_map.cpp. |
|
Definition at line 465 of file qwt_color_map.cpp. |
|
Clone the color map.
Implements QwtColorMap. Definition at line 441 of file qwt_color_map.cpp. References QwtAlphaColorMap(). |
|
Assignment operator
Definition at line 432 of file qwt_color_map.cpp. References d_data. |
|
Map a value of a given interval into a alpha value. alpha := (value - interval.minValue()) / interval.width();
Implements QwtColorMap. Definition at line 479 of file qwt_color_map.cpp. References QwtDoubleInterval::isValid(), QwtDoubleInterval::minValue(), and QwtDoubleInterval::width(). |
|
Set the color
Definition at line 455 of file qwt_color_map.cpp. |