comparison 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
comparison
equal deleted inserted replaced
1432:5b9692768beb 1433:9abddbd57667
163 return getDefaultKeyFrames(); 163 return getDefaultKeyFrames();
164 } 164 }
165 165
166 vector<sv_frame_t> keyFrames; 166 vector<sv_frame_t> keyFrames;
167 167
168 const SparseOneDimensionalModel::PointList pp = m->getPoints(); 168 EventVector pp = m->getAllEvents();
169 for (SparseOneDimensionalModel::PointList::const_iterator pi = pp.begin(); 169 for (EventVector::const_iterator pi = pp.begin(); pi != pp.end(); ++pi) {
170 pi != pp.end(); ++pi) { 170 keyFrames.push_back(pi->getFrame());
171 keyFrames.push_back(pi->frame);
172 } 171 }
173 172
174 return keyFrames; 173 return keyFrames;
175 } 174 }
176 175
191 } 190 }
192 191
193 return keyFrames; 192 return keyFrames;
194 } 193 }
195 194
196
197
198
199
200