diff layer/Colour3DPlotLayer.h @ 1082:5b4fe7bb9430 spectrogram-minor-refactor

VerticalBinLayer for vertical mapping abstraction. Not totally sure about this
author Chris Cannam
date Fri, 01 Jul 2016 09:55:48 +0100
parents 521f7e8b0559
children 179ea8a2f650
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h	Thu Jun 30 18:21:11 2016 +0100
+++ b/layer/Colour3DPlotLayer.h	Fri Jul 01 09:55:48 2016 +0100
@@ -17,6 +17,7 @@
 #define COLOUR_3D_PLOT_LAYER_H
 
 #include "SliceableLayer.h"
+#include "VerticalBinLayer.h"
 
 #include "data/model/DenseThreeDimensionalModel.h"
 
@@ -34,7 +35,8 @@
  * implementation that derived the spectrogram itself from a
  * DenseTimeValueModel instead of using a three-dimensional model.
  */
-class Colour3DPlotLayer : public SliceableLayer
+class Colour3DPlotLayer : public SliceableLayer,
+                          public VerticalBinLayer
 {
     Q_OBJECT