comparison data/model/Dense3DModelPeakCache.cpp @ 1777:d484490cdf69

Split EditableDenseThreeDimensionalModel into explicitly compressed and uncompressed variants. Simplifies the uncompressed version, and we may want to consider whether we need the compressed one at all.
author Chris Cannam
date Tue, 10 Sep 2019 16:34:47 +0100
parents 6d09d68165a4
children 59d9dcfd67c2
comparison
equal deleted inserted replaced
1776:5750b9e60818 1777:d484490cdf69
33 33
34 m_cache.reset(new EditableDenseThreeDimensionalModel 34 m_cache.reset(new EditableDenseThreeDimensionalModel
35 (source->getSampleRate(), 35 (source->getSampleRate(),
36 source->getResolution() * m_columnsPerPeak, 36 source->getResolution() * m_columnsPerPeak,
37 source->getHeight(), 37 source->getHeight(),
38 EditableDenseThreeDimensionalModel::NoCompression,
39 false)); 38 false));
40 39
41 connect(source.get(), SIGNAL(modelChanged(ModelId)), 40 connect(source.get(), SIGNAL(modelChanged(ModelId)),
42 this, SLOT(sourceModelChanged(ModelId))); 41 this, SLOT(sourceModelChanged(ModelId)));
43 } 42 }