Mercurial > hg > svgui
diff layer/Colour3DPlotLayer.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 | a42e5a3c63ef |
children | dd3901fe8623 |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h Wed Jul 20 13:40:23 2016 +0100 +++ b/layer/Colour3DPlotLayer.h Fri Jul 22 12:17:55 2016 +0100 @@ -185,8 +185,12 @@ const int m_peakCacheDivisor; Dense3DModelPeakCache *getPeakCache() const; + typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id + mutable ViewMagMap m_viewMags; + typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id mutable ViewRendererMap m_renderers; + Colour3DPlotRenderer *getRenderer(const LayerGeometryProvider *) const; void invalidateRenderers();