diff view/AlignmentView.cpp @ 1433:9abddbd57667 single-point

Updates for SparseOneDimensionalModel in new API
author Chris Cannam
date Thu, 21 Mar 2019 13:34:08 +0000
parents c8a6fd3f9dff
children 84c4ddb38415
line wrap: on
line diff
--- a/view/AlignmentView.cpp	Wed Mar 20 15:46:17 2019 +0000
+++ b/view/AlignmentView.cpp	Thu Mar 21 13:34:08 2019 +0000
@@ -165,10 +165,9 @@
 
     vector<sv_frame_t> keyFrames;
 
-    const SparseOneDimensionalModel::PointList pp = m->getPoints();
-    for (SparseOneDimensionalModel::PointList::const_iterator pi = pp.begin();
-         pi != pp.end(); ++pi) {
-        keyFrames.push_back(pi->frame);
+    EventVector pp = m->getAllEvents();
+    for (EventVector::const_iterator pi = pp.begin(); pi != pp.end(); ++pi) {
+        keyFrames.push_back(pi->getFrame());
     }
 
     return keyFrames;
@@ -193,8 +192,3 @@
     return keyFrames;
 }
 
-
-
-
-
-