comparison data/model/SparseModel.h @ 318:7a4bd2c8585c

* Some export fixes, and avoid clipping on resampling on import
author Chris Cannam
date Mon, 22 Oct 2007 09:45:35 +0000
parents 70a232b1f12a
children 1afaf98dbf11
comparison
equal deleted inserted replaced
317:c324d410b096 318:7a4bd2c8585c
546 void 546 void
547 SparseModel<PointType>::toXml(QTextStream &out, 547 SparseModel<PointType>::toXml(QTextStream &out,
548 QString indent, 548 QString indent,
549 QString extraAttributes) const 549 QString extraAttributes) const
550 { 550 {
551 std::cerr << "SparseModel::toXml: extraAttributes = \""
552 << extraAttributes.toStdString() << std::endl;
553
551 Model::toXml 554 Model::toXml
552 (out, 555 (out,
553 indent, 556 indent,
554 QString("type=\"sparse\" dimensions=\"%1\" resolution=\"%2\" notifyOnAdd=\"%3\" dataset=\"%4\" %5") 557 QString("type=\"sparse\" dimensions=\"%1\" resolution=\"%2\" notifyOnAdd=\"%3\" dataset=\"%4\" %5")
555 .arg(PointType(0).getDimensions()) 558 .arg(PointType(0).getDimensions())