comparison src/MatchPipeline.cpp @ 155:2b61e0cb6847 structure

Make path retrieval available directly in pipeline; some ctor/operator= fixes (hopefully to become obsolete later)
author Chris Cannam
date Fri, 23 Jan 2015 17:33:37 +0000
parents 6914a6a01ffc
children eeed3498fe96
comparison
equal deleted inserted replaced
154:4159f6b71942 155:2b61e0cb6847
129 129
130 void 130 void
131 MatchPipeline::finish() 131 MatchPipeline::finish()
132 { 132 {
133 m_feeder.finish(); 133 m_feeder.finish();
134 getFinder()->setDurations(m_lastFrameIn1, m_lastFrameIn2); 134 m_feeder.getFinder()->setDurations(m_lastFrameIn1, m_lastFrameIn2);
135 } 135 }
136 136
137 MatchFeatureFeeder * 137 int
138 MatchPipeline::getFeeder() 138 MatchPipeline::retrievePath(bool smooth, std::vector<int> &pathx, std::vector<int> &pathy)
139 { 139 {
140 return &m_feeder; 140 return m_feeder.getFinder()->retrievePath(smooth, pathx, pathy);
141 } 141 }
142 142
143 Finder * 143 void
144 MatchPipeline::getFinder() 144 MatchPipeline::retrieveForwardPath(std::vector<int> &pathx, std::vector<int> &pathy) {
145 { 145 return m_feeder.retrieveForwardPath(pathx, pathy);
146 return m_feeder.getFinder();
147 } 146 }
148 147
149 148
150 149
151