Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
1190:f6998e304b36 | 1191:6d09ad2ab21f |
---|---|
124 /** | 124 /** |
125 * Return locations of peak bins in the range [ymin,ymax]. If | 125 * Return locations of peak bins in the range [ymin,ymax]. If |
126 * ymax is zero, getHeight()-1 will be used. | 126 * ymax is zero, getHeight()-1 will be used. |
127 */ | 127 */ |
128 virtual PeakLocationSet getPeaks(PeakPickType type, int x, | 128 virtual PeakLocationSet getPeaks(PeakPickType type, int x, |
129 int ymin = 0, int ymax = 0); | 129 int ymin = 0, int ymax = 0) const; |
130 | 130 |
131 /** | 131 /** |
132 * Return locations and estimated stable frequencies of peak bins. | 132 * Return locations and estimated stable frequencies of peak bins. |
133 */ | 133 */ |
134 virtual PeakSet getPeakFrequencies(PeakPickType type, int x, | 134 virtual PeakSet getPeakFrequencies(PeakPickType type, int x, |
135 int ymin = 0, int ymax = 0); | 135 int ymin = 0, int ymax = 0) const; |
136 | 136 |
137 QString getTypeName() const { return tr("FFT"); } | 137 QString getTypeName() const { return tr("FFT"); } |
138 | 138 |
139 public slots: | 139 public slots: |
140 void sourceModelAboutToBeDeleted(); | 140 void sourceModelAboutToBeDeleted(); |