Mercurial > hg > svgui
comparison layer/Colour3DPlotRenderer.h @ 1082:5b4fe7bb9430 spectrogram-minor-refactor
VerticalBinLayer for vertical mapping abstraction. Not totally sure about this
author | Chris Cannam |
---|---|
date | Fri, 01 Jul 2016 09:55:48 +0100 |
parents | 2e5945b87aca |
children | 7122aae95a88 |
comparison
equal
deleted
inserted
replaced
1081:cbc7c8675706 | 1082:5b4fe7bb9430 |
---|---|
25 #include <QRect> | 25 #include <QRect> |
26 #include <QPainter> | 26 #include <QPainter> |
27 #include <QImage> | 27 #include <QImage> |
28 | 28 |
29 class LayerGeometryProvider; | 29 class LayerGeometryProvider; |
30 class VerticalBinLayer; | |
30 class DenseThreeDimensionalModel; | 31 class DenseThreeDimensionalModel; |
31 class Dense3DModelPeakCache; | 32 class Dense3DModelPeakCache; |
32 class FFTModel; | 33 class FFTModel; |
33 | 34 |
34 class Colour3DPlotRenderer | 35 class Colour3DPlotRenderer |
44 LinearBinScale, | 45 LinearBinScale, |
45 LogBinScale | 46 LogBinScale |
46 }; | 47 }; |
47 | 48 |
48 struct Sources { | 49 struct Sources { |
49 Sources() : geometryProvider(0), source(0), peaks(0), fft(0) { } | 50 Sources() : geometryProvider(0), verticalBinLayer(0), |
51 source(0), peaks(0), fft(0) { } | |
50 | 52 |
51 // These must all outlive this class | 53 // These must all outlive this class |
52 LayerGeometryProvider *geometryProvider; // always | 54 LayerGeometryProvider *geometryProvider; // always |
55 VerticalBinLayer *verticalBinLayer; // always | |
53 DenseThreeDimensionalModel *source; // always | 56 DenseThreeDimensionalModel *source; // always |
54 Dense3DModelPeakCache *peaks; // optionally | 57 Dense3DModelPeakCache *peaks; // optionally |
55 FFTModel *fft; // optionally | 58 FFTModel *fft; // optionally |
56 }; | 59 }; |
57 | 60 |