Commit d37204e8fb2332ebeadb1312427e9d91ddb7f829
1 parent
884a8751
removed propagate
Showing
1 changed file
with
0 additions
and
30 deletions
openbr/plugins/core/propagate.cpp deleted
| 1 | -#include <openbr/plugins/openbr_internal.h> | |
| 2 | - | |
| 3 | -namespace br | |
| 4 | -{ | |
| 5 | - | |
| 6 | -/*! | |
| 7 | - * \ingroup transforms | |
| 8 | - * \brief Ensures that a template will be propogated. | |
| 9 | - * \author Scott Klum \cite sklum | |
| 10 | - */ | |
| 11 | -class PropagateTransform : public UntrainableMetaTransform | |
| 12 | -{ | |
| 13 | - Q_OBJECT | |
| 14 | - | |
| 15 | - Q_PROPERTY(br::Transform *transform READ get_transform WRITE set_transform RESET reset_transform STORED true) | |
| 16 | - BR_PROPERTY(br::Transform *, transform, NULL) | |
| 17 | - | |
| 18 | - void project(const Template &src, Template &dst) const | |
| 19 | - { | |
| 20 | - transform->project(src,dst); | |
| 21 | - if (dst.isEmpty()) | |
| 22 | - dst = src; | |
| 23 | - } | |
| 24 | -}; | |
| 25 | - | |
| 26 | -BR_REGISTER(Transform, PropagateTransform) | |
| 27 | - | |
| 28 | -} // namespace br | |
| 29 | - | |
| 30 | -#include "core/propagate.moc" |