diff layer/Colour3DPlotRenderer.h @ 1266:a34a2a25907c

Untabify
author Chris Cannam
date Thu, 01 Mar 2018 18:02:22 +0000
parents fc40742bb911
children 7d28e7522dbd
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h	Thu Mar 01 14:43:53 2018 +0000
+++ b/layer/Colour3DPlotRenderer.h	Thu Mar 01 18:02:22 2018 +0000
@@ -53,18 +53,18 @@
         
         // These must all outlive this class
         const VerticalBinLayer *verticalBinLayer;  // always
-	const DenseThreeDimensionalModel *source;  // always
-	const FFTModel *fft;                       // optionally
-	std::vector<Dense3DModelPeakCache *> peakCaches; // zero or more
+        const DenseThreeDimensionalModel *source;  // always
+        const FFTModel *fft;                       // optionally
+        std::vector<Dense3DModelPeakCache *> peakCaches; // zero or more
     };        
 
     struct Parameters {
-	Parameters() :
-	    colourScale(ColourScale::Parameters()),
-	    normalization(ColumnNormalization::None),
-	    binDisplay(BinDisplay::AllBins),
+        Parameters() :
+            colourScale(ColourScale::Parameters()),
+            normalization(ColumnNormalization::None),
+            binDisplay(BinDisplay::AllBins),
             binScale(BinScale::Linear),
-	    alwaysOpaque(false),
+            alwaysOpaque(false),
             interpolate(false),
             invertVertical(false),
             scaleFactor(1.0),
@@ -73,32 +73,32 @@
         /** A complete ColourScale object by value, used for colour
          *  map conversion. Note that the final display gain setting is
          *  also encapsulated here. */
-	ColourScale colourScale;
+        ColourScale colourScale;
 
         /** Type of column normalization. */
-	ColumnNormalization normalization;
+        ColumnNormalization normalization;
 
         /** Selection of bins to display. */
-	BinDisplay binDisplay;
+        BinDisplay binDisplay;
 
         /** Scale for vertical bin spacing (linear or logarithmic). */
-	BinScale binScale;
+        BinScale binScale;
 
         /** Whether cells should always be opaque. If false, then
          *  large cells (when zoomed in a long way) will be rendered
          *  translucent in order not to obscure anything in a layer
          *  beneath. */
-	bool alwaysOpaque;
+        bool alwaysOpaque;
 
         /** Whether to apply smoothing when rendering cells at more
          *  than one pixel per cell.  !!! todo: decide about separating
          *  out x-interpolate and y-interpolate as the spectrogram
          *  actually does (or used to)
          */
-	bool interpolate;
+        bool interpolate;
 
         /** Whether to render the whole caboodle upside-down. */
-	bool invertVertical;
+        bool invertVertical;
 
         /** Initial scale factor (e.g. for FFT scaling). This factor
          *  is applied to all values read from the underlying model
@@ -112,7 +112,7 @@
     
     Colour3DPlotRenderer(Sources sources, Parameters parameters) :
         m_sources(sources),
-	m_params(parameters),
+        m_params(parameters),
         m_secondsPerXPixel(0.0),
         m_secondsPerXPixelValid(false)
     { }