Mercurial > hg > svgui
comparison layer/ColourMapper.h @ 1071:65b183494331 spectrogram-minor-refactor
Start stubbing Colour3DPlotRenderer
author | Chris Cannam |
---|---|
date | Thu, 23 Jun 2016 17:07:21 +0100 |
parents | 9c890b7dfa83 |
children | 73d43e410a6b |
comparison
equal
deleted
inserted
replaced
1070:27163db978d8 | 1071:65b183494331 |
---|---|
21 #include <QString> | 21 #include <QString> |
22 | 22 |
23 /** | 23 /** |
24 * A class for mapping intensity values onto various colour maps. | 24 * A class for mapping intensity values onto various colour maps. |
25 */ | 25 */ |
26 | 26 class ColourMapper |
27 class ColourMapper : public QObject | |
28 { | 27 { |
29 Q_OBJECT | |
30 | |
31 public: | 28 public: |
32 ColourMapper(int map, double minValue, double maxValue); | 29 ColourMapper(int map, double minValue, double maxValue); |
33 virtual ~ColourMapper(); | 30 ~ColourMapper(); |
31 | |
32 ColourMapper(const ColourMapper &) = default; | |
33 ColourMapper &operator=(const ColourMapper &) = default; | |
34 | 34 |
35 enum StandardMap { | 35 enum StandardMap { |
36 Green, | 36 Green, |
37 Sunset, | 37 Sunset, |
38 WhiteOnBlack, | 38 WhiteOnBlack, |