diff layer/RegionLayer.h @ 412:d332ad1ca66b

* Add segmentation plot type to region layer (plotting not implemented yet)
author Chris Cannam
date Fri, 19 Sep 2008 12:55:35 +0000
parents 96e4d7b9e165
children 1304dbe4542e
line wrap: on
line diff
--- a/layer/RegionLayer.h	Thu Sep 18 16:08:14 2008 +0000
+++ b/layer/RegionLayer.h	Fri Sep 19 12:55:35 2008 +0000
@@ -84,6 +84,14 @@
     void setVerticalScale(VerticalScale scale);
     VerticalScale getVerticalScale() const { return m_verticalScale; }
 
+    enum PlotStyle {
+	PlotLines,
+	PlotSegmentation
+    };
+
+    void setPlotStyle(PlotStyle style);
+    PlotStyle getPlotStyle() const { return m_plotStyle; }
+
     virtual bool isLayerScrollable(const View *v) const;
 
     virtual bool isLayerEditable() const { return true; }
@@ -115,6 +123,7 @@
     RegionModel::Point m_editingPoint;
     RegionModel::EditCommand *m_editingCommand;
     VerticalScale m_verticalScale;
+    PlotStyle m_plotStyle;
 
     void finish(RegionModel::EditCommand *command) {
         Command *c = command->finish();