Mercurial > hg > svcore
comparison transform/FeatureExtractionModelTransformer.cpp @ 535:3ccf48fb81d6
* make compression optional in editable dense 3d model, and some tweaks
author | Chris Cannam |
---|---|
date | Fri, 23 Jan 2009 14:00:29 +0000 |
parents | 55ad231c9db7 |
children | 53e5dc8439e7 |
comparison
equal
deleted
inserted
replaced
534:6038cb6fcd30 | 535:3ccf48fb81d6 |
---|---|
325 // has a fixed sample rate and more than one value per result | 325 // has a fixed sample rate and more than one value per result |
326 // must be a dense 3D model. | 326 // must be a dense 3D model. |
327 | 327 |
328 EditableDenseThreeDimensionalModel *model = | 328 EditableDenseThreeDimensionalModel *model = |
329 new EditableDenseThreeDimensionalModel | 329 new EditableDenseThreeDimensionalModel |
330 (modelRate, modelResolution, binCount, false); | 330 (modelRate, modelResolution, binCount, |
331 EditableDenseThreeDimensionalModel::BasicMultirateCompression, | |
332 false); | |
331 | 333 |
332 if (!m_descriptor->binNames.empty()) { | 334 if (!m_descriptor->binNames.empty()) { |
333 std::vector<QString> names; | 335 std::vector<QString> names; |
334 for (size_t i = 0; i < m_descriptor->binNames.size(); ++i) { | 336 for (size_t i = 0; i < m_descriptor->binNames.size(); ++i) { |
335 names.push_back(m_descriptor->binNames[i].c_str()); | 337 names.push_back(m_descriptor->binNames[i].c_str()); |