Mercurial > hg > svgui
comparison layer/Colour3DPlotRenderer.h @ 1112:d578b685d912 spectrogram-minor-refactor
Colourmap rotation (inelegantly)
author | Chris Cannam |
---|---|
date | Tue, 19 Jul 2016 10:12:30 +0100 |
parents | 477521f95a84 |
children | 261a00010918 |
comparison
equal
deleted
inserted
replaced
1111:953ce409ccfb | 1112:d578b685d912 |
---|---|
62 normalization(ColumnNormalization::None), | 62 normalization(ColumnNormalization::None), |
63 binDisplay(BinDisplay::AllBins), | 63 binDisplay(BinDisplay::AllBins), |
64 binScale(BinScale::Linear), | 64 binScale(BinScale::Linear), |
65 alwaysOpaque(false), | 65 alwaysOpaque(false), |
66 interpolate(false), //!!! separate out x-interpolate and y-interpolate? the spectrogram actually does (or used to) | 66 interpolate(false), //!!! separate out x-interpolate and y-interpolate? the spectrogram actually does (or used to) |
67 invertVertical(false) { } | 67 invertVertical(false), |
68 colourRotation(0) { } | |
68 | 69 |
69 ColourScale colourScale; // complete ColourScale object by value | 70 ColourScale colourScale; // complete ColourScale object by value |
70 ColumnNormalization normalization; | 71 ColumnNormalization normalization; |
71 BinDisplay binDisplay; | 72 BinDisplay binDisplay; |
72 BinScale binScale; | 73 BinScale binScale; |
73 bool alwaysOpaque; | 74 bool alwaysOpaque; |
74 bool interpolate; | 75 bool interpolate; |
75 bool invertVertical; | 76 bool invertVertical; |
77 int colourRotation; | |
76 }; | 78 }; |
77 | 79 |
78 Colour3DPlotRenderer(Sources sources, Parameters parameters) : | 80 Colour3DPlotRenderer(Sources sources, Parameters parameters) : |
79 m_sources(sources), | 81 m_sources(sources), |
80 m_params(parameters) | 82 m_params(parameters) |