comparison 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
comparison
equal deleted inserted replaced
1120:65cdaf8d6b50 1121:d930ff725f64
183 183
184 mutable Dense3DModelPeakCache *m_peakCache; 184 mutable Dense3DModelPeakCache *m_peakCache;
185 const int m_peakCacheDivisor; 185 const int m_peakCacheDivisor;
186 Dense3DModelPeakCache *getPeakCache() const; 186 Dense3DModelPeakCache *getPeakCache() const;
187 187
188 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id
189 mutable ViewMagMap m_viewMags;
190
188 typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id 191 typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id
189 mutable ViewRendererMap m_renderers; 192 mutable ViewRendererMap m_renderers;
193
190 Colour3DPlotRenderer *getRenderer(const LayerGeometryProvider *) const; 194 Colour3DPlotRenderer *getRenderer(const LayerGeometryProvider *) const;
191 void invalidateRenderers(); 195 void invalidateRenderers();
192 196
193 /** 197 /**
194 * Return the y coordinate at which the given bin "starts" 198 * Return the y coordinate at which the given bin "starts"