Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 1121:d930ff725f64 spectrogram-minor-refactor
Wiring through the magnitude range updates
author | Chris Cannam |
---|---|
date | Fri, 22 Jul 2016 12:17:55 +0100 |
parents | 261a00010918 |
children | 9fb8dfd7ce4c |
comparison
equal
deleted
inserted
replaced
1120:65cdaf8d6b50 | 1121:d930ff725f64 |
---|---|
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 std::vector<MagnitudeRange> m_columnMags; |
304 void invalidateMagnitudes(); | 304 void invalidateMagnitudes(); |
305 bool updateViewMagnitudes(LayerGeometryProvider *v) const; | 305 //!!! bool updateViewMagnitudes(LayerGeometryProvider *v) const; |
306 | 306 |
307 typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id | 307 typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id |
308 mutable ViewRendererMap m_renderers; | 308 mutable ViewRendererMap m_renderers; |
309 Colour3DPlotRenderer *getRenderer(LayerGeometryProvider *) const; | 309 Colour3DPlotRenderer *getRenderer(LayerGeometryProvider *) const; |
310 void invalidateRenderers(); | 310 void invalidateRenderers(); |