diff layer/Colour3DPlotRenderer.h @ 1104:46cc4644206d spectrogram-minor-refactor

Convert ColumnNormalization to an enum class, and separate out normalize-visible
author Chris Cannam
date Thu, 14 Jul 2016 16:12:05 +0100
parents d84a0033b305
children 477521f95a84
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h	Thu Jul 14 15:13:37 2016 +0100
+++ b/layer/Colour3DPlotRenderer.h	Thu Jul 14 16:12:05 2016 +0100
@@ -59,7 +59,7 @@
     struct Parameters {
 	Parameters() :
 	    colourScale(ColourScale::Parameters()),
-	    normalization(ColumnOp::NoNormalization),
+	    normalization(ColumnNormalization::None),
 	    binDisplay(BinDisplay::AllBins),
             binScale(BinScale::Linear),
 	    alwaysOpaque(false),
@@ -67,7 +67,7 @@
             invertVertical(false) { }
 
 	ColourScale colourScale;       // complete ColourScale object by value
-	ColumnOp::Normalization normalization;
+	ColumnNormalization normalization;
 	BinDisplay binDisplay;
 	BinScale binScale;
 	bool alwaysOpaque;