diff --git a/openbr/plugins/core/propagate.cpp b/openbr/plugins/core/propagate.cpp index 98e8167..9146ad0 100644 --- a/openbr/plugins/core/propagate.cpp +++ b/openbr/plugins/core/propagate.cpp @@ -8,18 +8,13 @@ namespace br * \brief Ensures that a template will be propogated. * \author Scott Klum \cite sklum */ -class PropagateTransform : public Transform +class PropagateTransform : public UntrainableMetaTransform { Q_OBJECT Q_PROPERTY(br::Transform *transform READ get_transform WRITE set_transform RESET reset_transform STORED true) BR_PROPERTY(br::Transform *, transform, NULL) - void train(const TemplateList &data) - { - transform->train(data); - } - void project(const Template &src, Template &dst) const { transform->project(src,dst);