comparison layer/Colour3DPlotLayer.cpp @ 1163:ab169938832a 3.0-integration

Use peak cache at one zoom level lower (since it exists at that level already -- this is a >= vs > question) + make naming more uniform
author Chris Cannam
date Tue, 08 Nov 2016 14:55:53 +0000
parents 0edfed2c8482
children 69ff93e0c624
comparison
equal deleted inserted replaced
1162:081c7ebf1fea 1163:ab169938832a
1026 1026
1027 Colour3DPlotRenderer::Sources sources; 1027 Colour3DPlotRenderer::Sources sources;
1028 sources.verticalBinLayer = this; 1028 sources.verticalBinLayer = this;
1029 sources.fft = 0; 1029 sources.fft = 0;
1030 sources.source = m_model; 1030 sources.source = m_model;
1031 sources.peaks = getPeakCache(); 1031 sources.peakCache = getPeakCache();
1032 1032
1033 ColourScale::Parameters cparams; 1033 ColourScale::Parameters cparams;
1034 cparams.colourMap = m_colourMap; 1034 cparams.colourMap = m_colourMap;
1035 cparams.scaleType = m_colourScale; 1035 cparams.scaleType = m_colourScale;
1036 cparams.gain = m_gain; 1036 cparams.gain = m_gain;