diff layer/SliceLayer.h @ 197:6b023411087b

* Work on harmonising colour and scale ranges between types of layer * Add normalize options to colour 3d plot layer
author Chris Cannam
date Thu, 01 Feb 2007 14:31:28 +0000
parents 4a3bdde1ef13
children c2ed5014d4ff
line wrap: on
line diff
--- a/layer/SliceLayer.h	Wed Jan 31 12:13:47 2007 +0000
+++ b/layer/SliceLayer.h	Thu Feb 01 14:31:28 2007 +0000
@@ -65,13 +65,16 @@
 
     enum SamplingMode { NearestSample, SampleMean, SamplePeak };
 
-    enum PlotStyle { PlotLines, PlotSteps, PlotBlocks };
+    enum PlotStyle { PlotLines, PlotSteps, PlotBlocks, PlotFilledBlocks };
 
     enum BinScale { LinearBins, LogBins, InvertedLogBins };
 
     void setBaseColour(QColor);
     QColor getBaseColour() const { return m_colour; }
 
+    void setFillColourMap(int);
+    int getFillColourMap() const { return m_colourMap; }
+
     void setEnergyScale(EnergyScale);
     EnergyScale getEnergyScale() const { return m_energyScale; }
 
@@ -100,6 +103,7 @@
 protected:
     const DenseThreeDimensionalModel *m_sliceableModel;
     QColor                            m_colour;
+    int                               m_colourMap;
     EnergyScale                       m_energyScale;
     SamplingMode                      m_samplingMode;
     PlotStyle                         m_plotStyle;