Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 1136:9ff838a64461 spectrogram-minor-refactor
Re-enable (little-used) normalise-visible-range option in spectrogram layer
author | Chris Cannam |
---|---|
date | Wed, 03 Aug 2016 16:16:23 +0100 |
parents | 9fb8dfd7ce4c |
children | 4e7ed3252d80 |
comparison
equal
deleted
inserted
replaced
1135:628cd329c241 | 1136:9ff838a64461 |
---|---|
298 mutable Dense3DModelPeakCache *m_peakCache; | 298 mutable Dense3DModelPeakCache *m_peakCache; |
299 const int m_peakCacheDivisor; | 299 const int m_peakCacheDivisor; |
300 | 300 |
301 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id | 301 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id |
302 mutable ViewMagMap m_viewMags; | 302 mutable ViewMagMap m_viewMags; |
303 //!!! mutable std::vector<MagnitudeRange> m_columnMags; | 303 mutable ViewMagMap m_lastRenderedMags; // when in normalizeVisibleArea mode |
304 void invalidateMagnitudes(); | 304 void invalidateMagnitudes(); |
305 //!!! bool updateViewMagnitudes(LayerGeometryProvider *v) const; | |
306 | 305 |
307 typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id | 306 typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id |
308 mutable ViewRendererMap m_renderers; | 307 mutable ViewRendererMap m_renderers; |
309 Colour3DPlotRenderer *getRenderer(LayerGeometryProvider *) const; | 308 Colour3DPlotRenderer *getRenderer(LayerGeometryProvider *) const; |
310 void invalidateRenderers(); | 309 void invalidateRenderers(); |