diff layer/Colour3DPlotRenderer.cpp @ 1171:84042e8c3c03 3.0-integration

More debug
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 28 Nov 2016 14:39:59 +0000
parents 958e352919a5
children a1ee3108d1d3
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.cpp	Wed Nov 23 10:39:32 2016 +0000
+++ b/layer/Colour3DPlotRenderer.cpp	Mon Nov 28 14:39:59 2016 +0000
@@ -800,13 +800,20 @@
     int divisor = 1;
     const DenseThreeDimensionalModel *sourceModel = m_sources.source;
     if (usePeakCache) {
-        cerr << "usePeakCache is true, with divisor " << divisor << endl;
         divisor = m_sources.peakCache->getColumnsPerPeak();
         sourceModel = m_sources.peakCache;
-    } else {
-        cerr << "usePeakCache is false" << endl;
     }
 
+    SVDEBUG << "renderDrawBuffer: w = " << w << ", h = " << h
+            << ", usePeakCache = " << usePeakCache << " (divisor = "
+            << divisor << "), rightToLeft = " << rightToLeft
+            << ", timeConstrained = " << timeConstrained << endl;
+    SVDEBUG << "renderDrawBuffer: normalization = " << int(m_params.normalization)
+            << ", binDisplay = " << int(m_params.binDisplay)
+            << ", binScale = " << int(m_params.binScale)
+            << ", alwaysOpaque = " << m_params.alwaysOpaque
+            << ", interpolate = " << m_params.interpolate << endl;
+    
     int sh = sourceModel->getHeight();
     
     int minbin = int(binfory[0] + 0.0001);