diff 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
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h	Fri Jan 27 11:39:29 2017 +0000
+++ b/layer/Colour3DPlotLayer.h	Fri Jan 27 11:39:42 2017 +0000
@@ -187,6 +187,8 @@
 
     typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id
     mutable ViewMagMap m_viewMags;
+    mutable ViewMagMap m_lastRenderedMags; // when in normalizeVisibleArea mode
+    void invalidateMagnitudes();
 
     typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id
     mutable ViewRendererMap m_renderers;