comparison layer/Colour3DPlotLayer.h @ 1103:d84a0033b305 spectrogram-minor-refactor

Turn BinDisplay and BinScale into enum classes
author Chris Cannam
date Thu, 14 Jul 2016 15:13:37 +0100
parents 1364cbf4453d
children 46cc4644206d
comparison
equal deleted inserted replaced
1102:36a981a0fa31 1103:d84a0033b305
104 float getGain() const; 104 float getGain() const;
105 105
106 /** 106 /**
107 * Specify the scale for the y axis. 107 * Specify the scale for the y axis.
108 */ 108 */
109 void setBinScale(Colour3DPlotRenderer::BinScale); 109 void setBinScale(BinScale);
110 Colour3DPlotRenderer::BinScale getBinScale() const; 110 BinScale getBinScale() const;
111 111
112 /** 112 /**
113 * Specify the normalization mode for bin values. 113 * Specify the normalization mode for bin values.
114 */ 114 */
115 void setNormalization(ColumnOp::Normalization); 115 void setNormalization(ColumnOp::Normalization);
159 159
160 ColourScale::Scale m_colourScale; 160 ColourScale::Scale m_colourScale;
161 bool m_colourScaleSet; 161 bool m_colourScaleSet;
162 int m_colourMap; 162 int m_colourMap;
163 float m_gain; 163 float m_gain;
164 Colour3DPlotRenderer::BinScale m_binScale; 164 BinScale m_binScale;
165 ColumnOp::Normalization m_normalization; 165 ColumnOp::Normalization m_normalization;
166 bool m_invertVertical; 166 bool m_invertVertical;
167 bool m_opaque; 167 bool m_opaque;
168 bool m_smooth; 168 bool m_smooth;
169 int m_peakResolution; 169 int m_peakResolution;