comparison data/model/SparseModel.h @ 296:2b6c99b607f1

...
author Chris Cannam
date Fri, 21 Sep 2007 09:13:11 +0000
parents 084ae1c213ee
children c022976d18e8
comparison
equal deleted inserted replaced
295:a2dc34ce146a 296:2b6c99b607f1
448 448
449 template <typename PointType> 449 template <typename PointType>
450 void 450 void
451 SparseModel<PointType>::addPoint(const PointType &point) 451 SparseModel<PointType>::addPoint(const PointType &point)
452 { 452 {
453 // std::cout << "SparseModel<Point>::addPoint(" << point.frame << ", "
454 // << point.value << ")" << std::endl;
455
456 { 453 {
457 QMutexLocker locker(&m_mutex); 454 QMutexLocker locker(&m_mutex);
458 m_points.insert(point); 455 m_points.insert(point);
459 m_pointCount++; 456 m_pointCount++;
460 if (point.label != "") m_hasTextLabels = true; 457 if (point.label != "") m_hasTextLabels = true;