diff layer/Colour3DPlotLayer.h @ 812:6c52314b31b0

Dense colour 3d plot layers should be scrollable, I think; and some tidying, debug stuff, and minor optimisations
author Chris Cannam
date Tue, 01 Jul 2014 15:32:54 +0100
parents 1d526ba11a24
children 2d4af227fd32
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h	Wed Jun 18 13:51:27 2014 +0100
+++ b/layer/Colour3DPlotLayer.h	Tue Jul 01 15:32:54 2014 +0100
@@ -214,6 +214,13 @@
     
     DenseThreeDimensionalModel::Column getColumn(int col) const;
 
+    /**
+     * True if we have the opaque or smooth flag set, or if the cells
+     * are so small you can't see their borders. False for big,
+     * translucent cells.
+     */
+    bool shouldPaintDenseIn(const View *) const; 
+
     int getColourScaleWidth(QPainter &) const;
     void fillCache(int firstBin, int lastBin) const;
     void paintDense(View *v, QPainter &paint, QRect rect) const;