diff data/model/FFTModel.h @ 1191:6d09ad2ab21f spectrogram-minor-refactor

Create, but don't yet use, a renderer in the colour 3d plot layer
author Chris Cannam
date Wed, 13 Jul 2016 13:06:28 +0100
parents 12a8daa89970
children 825d0d7641ba
line wrap: on
line diff
--- a/data/model/FFTModel.h	Thu Jun 23 14:43:00 2016 +0100
+++ b/data/model/FFTModel.h	Wed Jul 13 13:06:28 2016 +0100
@@ -126,13 +126,13 @@
      * ymax is zero, getHeight()-1 will be used.
      */
     virtual PeakLocationSet getPeaks(PeakPickType type, int x,
-                                     int ymin = 0, int ymax = 0);
+                                     int ymin = 0, int ymax = 0) const;
 
     /**
      * Return locations and estimated stable frequencies of peak bins.
      */
     virtual PeakSet getPeakFrequencies(PeakPickType type, int x,
-                                       int ymin = 0, int ymax = 0);
+                                       int ymin = 0, int ymax = 0) const;
 
     QString getTypeName() const { return tr("FFT"); }