14 py::class_<TransformationsImpl, std::shared_ptr<TransformationsImpl>> pyTransformationImpl(p_module,
"TransformationsImpl");
17 py::class_<RigidTransformation, std::shared_ptr<RigidTransformation>,
Transformation>(pyTransformationImpl,
"RigidTransformation")
18 .def_static(
"description", &RigidTransformation::description)
21 .def(
"compute", &RigidTransformation::compute, py::arg(
"input"), py::arg(
"parameters"))
22 .def(
"checkParameters", &RigidTransformation::checkParameters, py::arg(
"parameters"))
23 .def(
"correctParameters", &RigidTransformation::correctParameters, py::arg(
"parameters"));
26 py::class_<SimilarityTransformation, std::shared_ptr<SimilarityTransformation>,
Transformation>(pyTransformationImpl,
"SimilarityTransformation")
27 .def_static(
"description", &SimilarityTransformation::description)
30 .def(
"compute", &SimilarityTransformation::compute, py::arg(
"input"), py::arg(
"parameters"))
31 .def(
"checkParameters", &SimilarityTransformation::checkParameters, py::arg(
"parameters"))
32 .def(
"correctParameters", &SimilarityTransformation::correctParameters, py::arg(
"parameters"));
35 py::class_<PureTranslation, std::shared_ptr<PureTranslation>,
Transformation>(pyTransformationImpl,
"PureTranslation")
36 .def_static(
"description", &PureTranslation::description)
39 .def(
"compute", &PureTranslation::compute, py::arg(
"input"), py::arg(
"parameters"))
40 .def(
"checkParameters", &PureTranslation::checkParameters, py::arg(
"parameters"))
41 .def(
"correctParameters", &PureTranslation::correctParameters, py::arg(
"parameters"));