Mercurial > hg > svcore
comparison data/model/AlignmentModel.h @ 1869:cb9209ef373a startup-timing
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 16 Jun 2020 17:44:06 +0100 |
parents | 3072aa267248 |
children |
comparison
equal
deleted
inserted
replaced
1865:7b6e18380e8f | 1869:cb9209ef373a |
---|---|
54 QString getTypeName() const override { return tr("Alignment"); } | 54 QString getTypeName() const override { return tr("Alignment"); } |
55 | 55 |
56 ModelId getReferenceModel() const; | 56 ModelId getReferenceModel() const; |
57 ModelId getAlignedModel() const; | 57 ModelId getAlignedModel() const; |
58 | 58 |
59 void setCompletion(int completion); | |
60 | |
59 sv_frame_t toReference(sv_frame_t frame) const; | 61 sv_frame_t toReference(sv_frame_t frame) const; |
60 sv_frame_t fromReference(sv_frame_t frame) const; | 62 sv_frame_t fromReference(sv_frame_t frame) const; |
61 | 63 |
62 void setPathFrom(ModelId pathSource); // a SparseTimeValueModel | 64 void setPathFrom(ModelId pathSource); // a SparseTimeValueModel |
63 void setPath(const Path &path); | 65 void setPath(const Path &path); |
105 mutable std::unique_ptr<Path> m_reversePath; | 107 mutable std::unique_ptr<Path> m_reversePath; |
106 bool m_pathBegun; | 108 bool m_pathBegun; |
107 bool m_pathComplete; | 109 bool m_pathComplete; |
108 QString m_error; | 110 QString m_error; |
109 int m_relativePitch; | 111 int m_relativePitch; |
112 int m_explicitlySetCompletion; | |
110 | 113 |
111 void constructPath() const; | 114 void constructPath() const; |
112 void constructReversePath() const; | 115 void constructReversePath() const; |
113 | 116 |
114 sv_frame_t performAlignment(const Path &path, sv_frame_t frame) const; | 117 sv_frame_t performAlignment(const Path &path, sv_frame_t frame) const; |