diff transform/ModelTransformerFactory.h @ 786:5295bdb58840 tonioni

fixed flexi note layer and propagated model selection to analyser
author gyorgyf
date Sat, 13 Apr 2013 13:39:17 +0100
parents c3dee40e77d2
children 4faea021b5c1
line wrap: on
line diff
--- a/transform/ModelTransformerFactory.h	Tue Mar 26 20:15:04 2013 +0000
+++ b/transform/ModelTransformerFactory.h	Sat Apr 13 13:39:17 2013 +0100
@@ -18,6 +18,7 @@
 
 #include "Transform.h"
 #include "TransformDescription.h"
+#include "FeatureExtractionModelTransformer.h"
 
 #include "ModelTransformer.h"
 
@@ -83,9 +84,10 @@
      * The returned model is owned by the caller and must be deleted
      * when no longer needed.
      */
-    Model *transform(const Transform &transform,
-                     const ModelTransformer::Input &input,
-                     QString &message);
+	Model *transform(const Transform &transform,
+	                 const ModelTransformer::Input &input,
+					 QString &message,
+					 const FeatureExtractionModelTransformer::PreferredOutputModel outputmodel = FeatureExtractionModelTransformer::NoteOutputModel);
 
 protected slots:
     void transformerFinished();
@@ -103,6 +105,7 @@
     TransformerSet m_runningTransformers;
 
     static ModelTransformerFactory *m_instance;
+	FeatureExtractionModelTransformer::PreferredOutputModel m_preferredOutputModel ;
 };