Mercurial > hg > svcore
comparison transform/ModelTransformerFactory.cpp @ 787:4faea021b5c1 tonioni
cleanup
author | gyorgyf |
---|---|
date | Sat, 13 Apr 2013 15:36:54 +0100 |
parents | 5295bdb58840 |
children | 2d53205f70cd |
comparison
equal
deleted
inserted
replaced
786:5295bdb58840 | 787:4faea021b5c1 |
---|---|
171 QString id = transform.getPluginIdentifier(); | 171 QString id = transform.getPluginIdentifier(); |
172 | 172 |
173 if (FeatureExtractionPluginFactory::instanceFor(id)) { | 173 if (FeatureExtractionPluginFactory::instanceFor(id)) { |
174 | 174 |
175 transformer = | 175 transformer = |
176 // new FeatureExtractionModelTransformer(input, transform, FeatureExtractionModelTransformer::NoteOutputModel); | |
177 new FeatureExtractionModelTransformer(input, transform, m_preferredOutputModel); | 176 new FeatureExtractionModelTransformer(input, transform, m_preferredOutputModel); |
178 | 177 |
179 } else if (RealTimePluginFactory::instanceFor(id)) { | 178 } else if (RealTimePluginFactory::instanceFor(id)) { |
180 | 179 |
181 transformer = | 180 transformer = |
193 | 192 |
194 Model * | 193 Model * |
195 ModelTransformerFactory::transform(const Transform &transform, | 194 ModelTransformerFactory::transform(const Transform &transform, |
196 const ModelTransformer::Input &input, | 195 const ModelTransformer::Input &input, |
197 QString &message, | 196 QString &message, |
198 // outputmodel default value = FeatureExtractionModelTransformer::NoteOutputModel | 197 /* outputmodel default value = FeatureExtractionModelTransformer::NoteOutputModel */ |
199 FeatureExtractionModelTransformer::PreferredOutputModel outputmodel) | 198 FeatureExtractionModelTransformer::PreferredOutputModel outputmodel) |
200 { | 199 { |
201 SVDEBUG << "ModelTransformerFactory::transform: Constructing transformer with input model " << input.getModel() << endl; | 200 SVDEBUG << "ModelTransformerFactory::transform: Constructing transformer with input model " << input.getModel() << endl; |
202 | 201 |
203 m_preferredOutputModel = outputmodel; | 202 m_preferredOutputModel = outputmodel; |