Mercurial > hg > svcore
comparison transform/FeatureExtractionModelTransformer.h @ 848:539740f231fa tonioni_multi_transform
Toward running multiple transforms (from same plugin + params) at once
author | Chris Cannam |
---|---|
date | Fri, 29 Nov 2013 15:43:50 +0000 |
parents | 54829c1e155e |
children | 418cd2064769 |
comparison
equal
deleted
inserted
replaced
847:2d53205f70cd | 848:539740f231fa |
---|---|
29 class FeatureExtractionModelTransformer : public ModelTransformer | 29 class FeatureExtractionModelTransformer : public ModelTransformer |
30 { | 30 { |
31 Q_OBJECT | 31 Q_OBJECT |
32 | 32 |
33 public: | 33 public: |
34 enum PreferredOutputModel { | 34 enum PreferredOutputModel { |
35 NoteOutputModel, | 35 NoteOutputModel, |
36 FlexiNoteOutputModel, | 36 FlexiNoteOutputModel, |
37 UndefinedOutputModel = 255 | 37 UndefinedOutputModel = 255 |
38 }; | 38 }; |
39 | 39 |
40 FeatureExtractionModelTransformer(Input input, | 40 FeatureExtractionModelTransformer(Input input, |
41 const Transform &transform, | 41 const Transform &transform, |
42 const PreferredOutputModel outputmodel); | 42 const PreferredOutputModel outputmodel); |
43 | |
44 // Obtain outputs for a set of transforms that all use the same | |
45 // plugin and input (but with different outputs). i.e. run the | |
46 // plugin once only and collect more than one output from it. | |
47 FeatureExtractionModelTransformer(Input input, | |
48 const Transforms &relatedTransforms, | |
49 const PreferredOutputModel outputmodel); | |
43 | 50 |
44 virtual ~FeatureExtractionModelTransformer(); | 51 virtual ~FeatureExtractionModelTransformer(); |
45 | 52 |
46 protected: | 53 protected: |
47 virtual void run(); | 54 virtual void run(); |