Mercurial > hg > svgui
comparison layer/SpectrumLayer.h @ 284:1284955856ab
* threshold, show-peaks properties in spectrum
author | Chris Cannam |
---|---|
date | Fri, 06 Jul 2007 15:17:35 +0000 |
parents | 8acd30ed735c |
children | c0b9eec70639 |
comparison
equal
deleted
inserted
replaced
283:86a112b5b319 | 284:1284955856ab |
---|---|
86 size_t getWindowHopLevel() const { return m_windowHopLevel; } | 86 size_t getWindowHopLevel() const { return m_windowHopLevel; } |
87 | 87 |
88 void setWindowType(WindowType type); | 88 void setWindowType(WindowType type); |
89 WindowType getWindowType() const { return m_windowType; } | 89 WindowType getWindowType() const { return m_windowType; } |
90 | 90 |
91 void setShowPeaks(bool); | |
92 bool getShowPeaks() const { return m_showPeaks; } | |
93 | |
91 virtual QString toXmlString(QString indent = "", | 94 virtual QString toXmlString(QString indent = "", |
92 QString extraAttributes = "") const; | 95 QString extraAttributes = "") const; |
93 | 96 |
94 protected slots: | 97 protected slots: |
95 void preferenceChanged(PropertyContainer::PropertyName name); | 98 void preferenceChanged(PropertyContainer::PropertyName name); |
104 int m_channel; | 107 int m_channel; |
105 bool m_channelSet; | 108 bool m_channelSet; |
106 size_t m_windowSize; | 109 size_t m_windowSize; |
107 WindowType m_windowType; | 110 WindowType m_windowType; |
108 size_t m_windowHopLevel; | 111 size_t m_windowHopLevel; |
112 bool m_showPeaks; | |
109 mutable bool m_newFFTNeeded; | 113 mutable bool m_newFFTNeeded; |
110 | 114 |
111 void setupFFT(); | 115 void setupFFT(); |
112 | 116 |
113 virtual void getBiasCurve(BiasCurve &) const; | 117 virtual void getBiasCurve(BiasCurve &) const; |