Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.h @ 1235:dd3901fe8623
Wire up normalise-visible-area mode in colour 3d plot
author | Chris Cannam |
---|---|
date | Fri, 27 Jan 2017 11:39:42 +0000 |
parents | d930ff725f64 |
children | f7ebb72c5e12 |
comparison
equal
deleted
inserted
replaced
1234:81dfe06a45c9 | 1235:dd3901fe8623 |
---|---|
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 | 188 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id |
189 mutable ViewMagMap m_viewMags; | 189 mutable ViewMagMap m_viewMags; |
190 mutable ViewMagMap m_lastRenderedMags; // when in normalizeVisibleArea mode | |
191 void invalidateMagnitudes(); | |
190 | 192 |
191 typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id | 193 typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id |
192 mutable ViewRendererMap m_renderers; | 194 mutable ViewRendererMap m_renderers; |
193 | 195 |
194 Colour3DPlotRenderer *getRenderer(const LayerGeometryProvider *) const; | 196 Colour3DPlotRenderer *getRenderer(const LayerGeometryProvider *) const; |