diff layer/Colour3DPlotRenderer.h @ 1213:34df6ff25472 3.0-integration

Don't start in the middle when repainting the whole width while using a peak cache. It looks funny.
author Chris Cannam
date Thu, 05 Jan 2017 14:17:47 +0000
parents a1ee3108d1d3
children eaab8bab3522
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h	Thu Jan 05 14:02:54 2017 +0000
+++ b/layer/Colour3DPlotRenderer.h	Thu Jan 05 14:17:47 2017 +0000
@@ -307,6 +307,9 @@
     
     ColumnOp::Column getColumn(int sx, int minbin, int nbins,
                                int peakCacheIndex) const; // -1 => don't use cache
+
+    void getPreferredPeakCache(const LayerGeometryProvider *,
+                               int &peakCacheIndex, int &binsPerPeak) const;
 };
 
 #endif