Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.h @ 719:67e6d518ac27
Bodge in Matthias's suggested normalise-to-log as an option in spectrogram and colour 3d plot layers (not wired into gui)
author | Chris Cannam |
---|---|
date | Tue, 28 Jan 2014 17:37:42 +0000 |
parents | 5b72899d692b |
children | c27a3604fe6f |
comparison
equal
deleted
inserted
replaced
704:b81f21f2c4c3 | 719:67e6d518ac27 |
---|---|
114 * Specify the scale for the y axis. | 114 * Specify the scale for the y axis. |
115 */ | 115 */ |
116 void setBinScale(BinScale); | 116 void setBinScale(BinScale); |
117 BinScale getBinScale() const; | 117 BinScale getBinScale() const; |
118 | 118 |
119 /** | |
120 * Normalize each column to its maximum value, independent of its | |
121 * neighbours. | |
122 */ | |
119 void setNormalizeColumns(bool n); | 123 void setNormalizeColumns(bool n); |
120 bool getNormalizeColumns() const; | 124 bool getNormalizeColumns() const; |
121 | 125 |
126 /** | |
127 * Normalize each value against the maximum in the visible region. | |
128 */ | |
122 void setNormalizeVisibleArea(bool n); | 129 void setNormalizeVisibleArea(bool n); |
123 bool getNormalizeVisibleArea() const; | 130 bool getNormalizeVisibleArea() const; |
131 | |
132 /** | |
133 * Normalize each column to its maximum value, and then scale by | |
134 * the log of the (absolute) maximum value. | |
135 */ | |
136 void setNormalizeHybrid(bool n); | |
137 bool getNormalizeHybrid() const; | |
124 | 138 |
125 void setInvertVertical(bool i); | 139 void setInvertVertical(bool i); |
126 bool getInvertVertical() const; | 140 bool getInvertVertical() const; |
127 | 141 |
128 void setOpaque(bool i); | 142 void setOpaque(bool i); |
166 int m_colourMap; | 180 int m_colourMap; |
167 float m_gain; | 181 float m_gain; |
168 BinScale m_binScale; | 182 BinScale m_binScale; |
169 bool m_normalizeColumns; | 183 bool m_normalizeColumns; |
170 bool m_normalizeVisibleArea; | 184 bool m_normalizeVisibleArea; |
185 bool m_normalizeHybrid; | |
171 bool m_invertVertical; | 186 bool m_invertVertical; |
172 bool m_opaque; | 187 bool m_opaque; |
173 bool m_smooth; | 188 bool m_smooth; |
174 size_t m_peakResolution; | 189 size_t m_peakResolution; |
175 | 190 |