Mercurial > hg > svcore
diff transform/FeatureExtractionPluginTransform.cpp @ 56:2157fa46c1e7
* Add plugin parameter dialog, and use it to set up parameters for feature
extraction plugins via a semi-opaque (translucent?) configurationXml string
which is associated with a given transform instance.
This is not yet saved to and restored from the SV file properly.
* Remove no-longer-relevant BeatDetect and BeatDetectionFunction transforms
(replaced a long time ago with the beat detector plugin).
author | Chris Cannam |
---|---|
date | Wed, 22 Mar 2006 17:38:29 +0000 |
parents | d397ea0a79f5 |
children | ba405e5e69d3 |
line wrap: on
line diff
--- a/transform/FeatureExtractionPluginTransform.cpp Wed Mar 22 13:23:50 2006 +0000 +++ b/transform/FeatureExtractionPluginTransform.cpp Wed Mar 22 17:38:29 2006 +0000 @@ -29,6 +29,7 @@ FeatureExtractionPluginTransform::FeatureExtractionPluginTransform(Model *inputModel, QString pluginId, + QString configurationXml, QString outputName) : Transform(inputModel), m_plugin(0), @@ -54,6 +55,10 @@ return; } + if (configurationXml != "") { + m_plugin->setParametersFromXml(configurationXml); + } + FeatureExtractionPlugin::OutputList outputs = m_plugin->getOutputDescriptors();