diff layer/Colour3DPlotRenderer.h @ 1112:d578b685d912 spectrogram-minor-refactor

Colourmap rotation (inelegantly)
author Chris Cannam
date Tue, 19 Jul 2016 10:12:30 +0100
parents 477521f95a84
children 261a00010918
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h	Tue Jul 19 09:36:21 2016 +0100
+++ b/layer/Colour3DPlotRenderer.h	Tue Jul 19 10:12:30 2016 +0100
@@ -64,7 +64,8 @@
             binScale(BinScale::Linear),
 	    alwaysOpaque(false),
             interpolate(false), //!!! separate out x-interpolate and y-interpolate? the spectrogram actually does (or used to)
-            invertVertical(false) { }
+            invertVertical(false),
+            colourRotation(0) { }
 
 	ColourScale colourScale;       // complete ColourScale object by value
 	ColumnNormalization normalization;
@@ -73,6 +74,7 @@
 	bool alwaysOpaque;
 	bool interpolate;
 	bool invertVertical;
+        int colourRotation;
     };
     
     Colour3DPlotRenderer(Sources sources, Parameters parameters) :