diff layer/Colour3DPlotLayer.h @ 1473:886c1cd48f9d by-id

Further layer updates for ModelById
author Chris Cannam
date Tue, 02 Jul 2019 11:49:52 +0100
parents 11a150e65ee1
children e540aa5d89cd
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h	Mon Jul 01 14:25:53 2019 +0100
+++ b/layer/Colour3DPlotLayer.h	Tue Jul 02 11:49:52 2019 +0100
@@ -187,10 +187,10 @@
     static std::pair<ColumnNormalization, bool> convertToColumnNorm(int value);
     static int convertFromColumnNorm(ColumnNormalization norm, bool visible);
 
-    mutable Dense3DModelPeakCache *m_peakCache;
+    mutable ModelId m_peakCache;
     const int m_peakCacheDivisor;
     void invalidatePeakCache();
-    Dense3DModelPeakCache *getPeakCache() const;
+    ModelId getPeakCache() const;
 
     typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id
     mutable ViewMagMap m_viewMags;