Mercurial > hg > svgui
comparison layer/Colour3DPlotRenderer.h @ 1104:46cc4644206d spectrogram-minor-refactor
Convert ColumnNormalization to an enum class, and separate out normalize-visible
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2016 16:12:05 +0100 |
parents | d84a0033b305 |
children | 477521f95a84 |
comparison
equal
deleted
inserted
replaced
1103:d84a0033b305 | 1104:46cc4644206d |
---|---|
57 }; | 57 }; |
58 | 58 |
59 struct Parameters { | 59 struct Parameters { |
60 Parameters() : | 60 Parameters() : |
61 colourScale(ColourScale::Parameters()), | 61 colourScale(ColourScale::Parameters()), |
62 normalization(ColumnOp::NoNormalization), | 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 | 68 |
69 ColourScale colourScale; // complete ColourScale object by value | 69 ColourScale colourScale; // complete ColourScale object by value |
70 ColumnOp::Normalization normalization; | 70 ColumnNormalization normalization; |
71 BinDisplay binDisplay; | 71 BinDisplay binDisplay; |
72 BinScale binScale; | 72 BinScale binScale; |
73 bool alwaysOpaque; | 73 bool alwaysOpaque; |
74 bool interpolate; | 74 bool interpolate; |
75 bool invertVertical; | 75 bool invertVertical; |