Mercurial > hg > svapp
comparison framework/SVFileReader.cpp @ 153:99afa5fa8d30
* make compression optional in editable dense 3d model, and some tweaks
author | Chris Cannam |
---|---|
date | Fri, 23 Jan 2009 14:00:29 +0000 |
parents | 9ccaa8fd9b9f |
children | d71dccaa576c |
comparison
equal
deleted
inserted
replaced
152:6f1e64670451 | 153:99afa5fa8d30 |
---|---|
501 READ_MANDATORY(int, windowSize, toInt); | 501 READ_MANDATORY(int, windowSize, toInt); |
502 READ_MANDATORY(int, yBinCount, toInt); | 502 READ_MANDATORY(int, yBinCount, toInt); |
503 | 503 |
504 EditableDenseThreeDimensionalModel *model = | 504 EditableDenseThreeDimensionalModel *model = |
505 new EditableDenseThreeDimensionalModel | 505 new EditableDenseThreeDimensionalModel |
506 (sampleRate, windowSize, yBinCount); | 506 (sampleRate, windowSize, yBinCount, |
507 EditableDenseThreeDimensionalModel::NoCompression); | |
507 | 508 |
508 float minimum = attributes.value("minimum").trimmed().toFloat(&ok); | 509 float minimum = attributes.value("minimum").trimmed().toFloat(&ok); |
509 if (ok) model->setMinimumLevel(minimum); | 510 if (ok) model->setMinimumLevel(minimum); |
510 | 511 |
511 float maximum = attributes.value("maximum").trimmed().toFloat(&ok); | 512 float maximum = attributes.value("maximum").trimmed().toFloat(&ok); |