diff transform/FeatureExtractionPluginTransform.cpp @ 19:a7ed14263fe4

* Add Chromagram plugin, and make a number of fixes to the dense 3d model and colour 3d plot class to accommodate it * Add pitch-conversion methods in base/Pitch * Commit previously overlooked Command.cpp
author Chris Cannam
date Wed, 01 Feb 2006 14:49:49 +0000
parents d86891498eef
children 742e6882e187
line wrap: on
line diff
--- a/transform/FeatureExtractionPluginTransform.cpp	Tue Jan 31 17:19:45 2006 +0000
+++ b/transform/FeatureExtractionPluginTransform.cpp	Wed Feb 01 14:49:49 2006 +0000
@@ -124,7 +124,7 @@
     } else {
 	
 	m_output = new DenseThreeDimensionalModel(modelRate, modelResolution,
-						  valueCount);
+						  valueCount, false);
     }
 }
 
@@ -335,7 +335,9 @@
 
     } else {
 
-	//!!! Can't actually do this with the 3D model (yet?)
+	DenseThreeDimensionalModel *model = getOutput<DenseThreeDimensionalModel>();
+	if (!model) return;
+	model->setCompletion(completion);
     }
 }