diff layer/VerticalBinLayer.h @ 1110:67dd16e33a3d spectrogram-minor-refactor

Make VerticalBinLayer an actual Layer (via SliceableLayer)
author Chris Cannam
date Tue, 19 Jul 2016 08:55:13 +0100
parents 179ea8a2f650
children 953ce409ccfb
line wrap: on
line diff
--- a/layer/VerticalBinLayer.h	Mon Jul 18 15:37:15 2016 +0100
+++ b/layer/VerticalBinLayer.h	Tue Jul 19 08:55:13 2016 +0100
@@ -16,13 +16,15 @@
 #ifndef VERTICAL_BIN_LAYER_H
 #define VERTICAL_BIN_LAYER_H
 
+#include "SliceableLayer.h"
+
 /**
  * Interface for layers in which the Y axis corresponds to bin number
  * rather than scale value. Colour3DPlotLayer is the obvious example.
  *!!! should just be a mapper interface, not a layer one?
  *!!! or even an application of RangeMapper
  */
-class VerticalBinLayer
+class VerticalBinLayer : public SliceableLayer
 {
 public:
     /**