QXRD  0.11.16
qxrdmaskcolormap.h
Go to the documentation of this file.
1 #ifndef QXRDMASKCOLORMAP_H
2 #define QXRDMASKCOLORMAP_H
3 
4 #include "qcepmacros.h"
5 
6 #include <qwt_color_map.h>
7 
8 class QxrdMaskColorMap : public QwtLinearColorMap
9 {
10  public:
11  QxrdMaskColorMap(const QColor &deselcol, const QColor &selcol);
13 
14 // QxrdMaskColorMap* copy() const;
15 
16  QRgb rgb(const QwtInterval &inter, double value) const;
17  unsigned char colorIndex(const QwtInterval &inter, double value) const;
18 
19  private:
22 };
23 
24 #endif
unsigned char colorIndex(const QwtInterval &inter, double value) const
QRgb rgb(const QwtInterval &inter, double value) const