Mercurial > hg > svapp
comparison framework/SVFileReader.cpp @ 707:94ca0ade69b6
Use updated EditableDenseThreeDimensionalModel interface
author | Chris Cannam |
---|---|
date | Tue, 10 Sep 2019 16:36:01 +0100 |
parents | 3c5dc95bea91 |
children | dde6ff56a84b |
comparison
equal
deleted
inserted
replaced
706:162c3f4b870c | 707:94ca0ade69b6 |
---|---|
604 | 604 |
605 READ_MANDATORY(int, windowSize, toInt); | 605 READ_MANDATORY(int, windowSize, toInt); |
606 READ_MANDATORY(int, yBinCount, toInt); | 606 READ_MANDATORY(int, yBinCount, toInt); |
607 | 607 |
608 auto model = std::make_shared<EditableDenseThreeDimensionalModel> | 608 auto model = std::make_shared<EditableDenseThreeDimensionalModel> |
609 (sampleRate, windowSize, yBinCount, | 609 (sampleRate, windowSize, yBinCount); |
610 EditableDenseThreeDimensionalModel::NoCompression); | |
611 | 610 |
612 model->setObjectName(name); | 611 model->setObjectName(name); |
613 m_models[id] = ModelById::add(model); | 612 m_models[id] = ModelById::add(model); |
614 | 613 |
615 float minimum = attributes.value("minimum").trimmed().toFloat(&ok); | 614 float minimum = attributes.value("minimum").trimmed().toFloat(&ok); |