comparison layer/ColourMapper.h @ 1148:c0d841cb8ab9 tony-2.0-integration

Merge latest SV 3.0 branch code
author Chris Cannam
date Fri, 19 Aug 2016 15:58:57 +0100
parents 65b183494331
children 73d43e410a6b
comparison
equal deleted inserted replaced
1009:96cf499fad62 1148:c0d841cb8ab9
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 DefaultColours, 36 Green,
37 Sunset, 37 Sunset,
38 WhiteOnBlack, 38 WhiteOnBlack,
39 BlackOnWhite, 39 BlackOnWhite,
40 RedOnBlue, 40 Cherry,
41 YellowOnBlack, 41 Wasp,
42 BlueOnBlack, 42 Ice,
43 FruitSalad, 43 FruitSalad,
44 Banded, 44 Banded,
45 Highlight, 45 Highlight,
46 Printer, 46 Printer,
47 HighGain 47 HighGain