diff layer/Colour3DPlotRenderer.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 2e5945b87aca
children 7122aae95a88
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h	Thu Jun 30 18:21:11 2016 +0100
+++ b/layer/Colour3DPlotRenderer.h	Fri Jul 01 09:55:48 2016 +0100
@@ -27,6 +27,7 @@
 #include <QImage>
 
 class LayerGeometryProvider;
+class VerticalBinLayer;
 class DenseThreeDimensionalModel;
 class Dense3DModelPeakCache;
 class FFTModel;
@@ -46,10 +47,12 @@
     };
 
     struct Sources {
-        Sources() : geometryProvider(0), source(0), peaks(0), fft(0) { }
+        Sources() : geometryProvider(0), verticalBinLayer(0),
+                    source(0), peaks(0), fft(0) { }
         
         // These must all outlive this class
         LayerGeometryProvider *geometryProvider; // always
+        VerticalBinLayer *verticalBinLayer;      // always
 	DenseThreeDimensionalModel *source;      // always
 	Dense3DModelPeakCache *peaks;	         // optionally
 	FFTModel *fft;			         // optionally