Mercurial > hg > svgui
comparison layer/ColourScale.h @ 1071:65b183494331 spectrogram-minor-refactor
Start stubbing Colour3DPlotRenderer
author | Chris Cannam |
---|---|
date | Thu, 23 Jun 2016 17:07:21 +0100 |
parents | 27163db978d8 |
children | 7ebfb61b1701 |
comparison
equal
deleted
inserted
replaced
1070:27163db978d8 | 1071:65b183494331 |
---|---|
66 * distribution settings. For example, min and max are ignored for | 66 * distribution settings. For example, min and max are ignored for |
67 * PlusMinusOneScale and PhaseColourScale and threshold and gain | 67 * PlusMinusOneScale and PhaseColourScale and threshold and gain |
68 * are ignored for PhaseColourScale. | 68 * are ignored for PhaseColourScale. |
69 */ | 69 */ |
70 ColourScale(Parameters parameters); | 70 ColourScale(Parameters parameters); |
71 ~ColourScale(); | |
71 | 72 |
73 ColourScale(const ColourScale &) = default; | |
74 ColourScale &operator=(const ColourScale &) = default; | |
75 | |
72 /** | 76 /** |
73 * Return a pixel number (in the range 0-255 inclusive) | 77 * Return a pixel number (in the range 0-255 inclusive) |
74 * corresponding to the given value. The pixel 0 is used only for | 78 * corresponding to the given value. The pixel 0 is used only for |
75 * values below the threshold supplied in the constructor. All | 79 * values below the threshold supplied in the constructor. All |
76 * other values are mapped onto the range 1-255. | 80 * other values are mapped onto the range 1-255. |