Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.h @ 1566:1f80a514ce29
Merge from branch spectrogram-export
| author | Chris Cannam |
|---|---|
| date | Fri, 10 Jan 2020 14:54:27 +0000 |
| parents | 563bab925c9b |
| children |
comparison
equal
deleted
inserted
replaced
| 1553:76e4302a3fc2 | 1566:1f80a514ce29 |
|---|---|
| 45 public: | 45 public: |
| 46 Colour3DPlotLayer(); | 46 Colour3DPlotLayer(); |
| 47 ~Colour3DPlotLayer(); | 47 ~Colour3DPlotLayer(); |
| 48 | 48 |
| 49 ModelId getModel() const override { return m_model; } | 49 ModelId getModel() const override { return m_model; } |
| 50 | |
| 51 ModelId getExportModel(LayerGeometryProvider *) const override; | |
| 50 | 52 |
| 51 const ZoomConstraint *getZoomConstraint() const override; | 53 const ZoomConstraint *getZoomConstraint() const override; |
| 52 | 54 |
| 53 void paint(LayerGeometryProvider *v, | 55 void paint(LayerGeometryProvider *v, |
| 54 QPainter &paint, QRect rect) const override; | 56 QPainter &paint, QRect rect) const override; |
| 190 mutable ModelId m_peakCache; | 192 mutable ModelId m_peakCache; |
| 191 const int m_peakCacheDivisor; | 193 const int m_peakCacheDivisor; |
| 192 void invalidatePeakCache(); | 194 void invalidatePeakCache(); |
| 193 ModelId getPeakCache() const; | 195 ModelId getPeakCache() const; |
| 194 | 196 |
| 197 mutable std::vector<ModelId> m_exporters; // used, waiting to be released | |
| 198 | |
| 195 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id | 199 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id |
| 196 mutable ViewMagMap m_viewMags; | 200 mutable ViewMagMap m_viewMags; |
| 197 mutable ViewMagMap m_lastRenderedMags; // when in normalizeVisibleArea mode | 201 mutable ViewMagMap m_lastRenderedMags; // when in normalizeVisibleArea mode |
| 198 void invalidateMagnitudes(); | 202 void invalidateMagnitudes(); |
| 199 | 203 |
