Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
18:4563a72c1d8b | 19:a7ed14263fe4 |
---|---|
122 minValue, maxValue, false); | 122 minValue, maxValue, false); |
123 | 123 |
124 } else { | 124 } else { |
125 | 125 |
126 m_output = new DenseThreeDimensionalModel(modelRate, modelResolution, | 126 m_output = new DenseThreeDimensionalModel(modelRate, modelResolution, |
127 valueCount); | 127 valueCount, false); |
128 } | 128 } |
129 } | 129 } |
130 | 130 |
131 FeatureExtractionPluginTransform::~FeatureExtractionPluginTransform() | 131 FeatureExtractionPluginTransform::~FeatureExtractionPluginTransform() |
132 { | 132 { |
333 if (!model) return; | 333 if (!model) return; |
334 model->setCompletion(completion); | 334 model->setCompletion(completion); |
335 | 335 |
336 } else { | 336 } else { |
337 | 337 |
338 //!!! Can't actually do this with the 3D model (yet?) | 338 DenseThreeDimensionalModel *model = getOutput<DenseThreeDimensionalModel>(); |
339 } | 339 if (!model) return; |
340 } | 340 model->setCompletion(completion); |
341 | 341 } |
342 } | |
343 |