comparison layer/Colour3DPlotRenderer.h @ 1089:c8683d94442a spectrogram-minor-refactor

Start to introduce renderer objects
author Chris Cannam
date Tue, 05 Jul 2016 12:20:56 +0100
parents 7122aae95a88
children c8c747783110
comparison
equal deleted inserted replaced
1088:c520f90bbf2e 1089:c8683d94442a
49 struct Sources { 49 struct Sources {
50 Sources() : geometryProvider(0), verticalBinLayer(0), 50 Sources() : geometryProvider(0), verticalBinLayer(0),
51 source(0), peaks(0), fft(0) { } 51 source(0), peaks(0), fft(0) { }
52 52
53 // These must all outlive this class 53 // These must all outlive this class
54 LayerGeometryProvider *geometryProvider; // always 54 LayerGeometryProvider *geometryProvider; // always
55 VerticalBinLayer *verticalBinLayer; // always 55 const VerticalBinLayer *verticalBinLayer; // always
56 DenseThreeDimensionalModel *source; // always 56 DenseThreeDimensionalModel *source; // always
57 Dense3DModelPeakCache *peaks; // optionally 57 Dense3DModelPeakCache *peaks; // optionally
58 FFTModel *fft; // optionally 58 FFTModel *fft; // optionally
59 }; 59 };
60 60
61 struct Parameters { 61 struct Parameters {
62 Parameters() : 62 Parameters() :
63 colourScale(ColourScale::Parameters()), 63 colourScale(ColourScale::Parameters()),