diff layer/Colour3DPlotLayer.h @ 287:cd2492c5fe45

* Add SingleColourLayer to manage colours for layers that have a single predominant colour (i.e. most of them).
author Chris Cannam
date Thu, 12 Jul 2007 16:14:59 +0000
parents 34bbbcb3c01f
children c0b9eec70639
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h	Wed Jul 11 20:46:37 2007 +0000
+++ b/layer/Colour3DPlotLayer.h	Thu Jul 12 16:14:59 2007 +0000
@@ -62,7 +62,9 @@
 
     virtual bool isLayerScrollable(const View *v) const;
 
-    virtual bool isLayerColourSignificant() const { return true; }
+    virtual ColourSignificance getLayerColourSignificance() const {
+        return ColourHasMeaningfulValue;
+    }
 
     void setModel(const DenseThreeDimensionalModel *model);