14 py::class_<TransformationCheckersImpl, std::shared_ptr<TransformationCheckersImpl>> pyTransformationCheckersImpl(p_module,
"TransformationCheckersImpl");
17 py::class_<CounterTransformationChecker, std::shared_ptr<CounterTransformationChecker>,
TransformationChecker>(pyTransformationCheckersImpl,
"CounterTransformationChecker")
18 .def_static(
"description", &CounterTransformationChecker::description)
19 .def_static(
"availableParameters", &CounterTransformationChecker::availableParameters)
21 .def_readonly(
"maxIterationCount", &CounterTransformationChecker::maxIterationCount)
23 .def(py::init<const Parameters&>(), py::arg(
"params") =
Parameters())
24 .def(
"init", &CounterTransformationChecker::init, py::arg(
"parameters"), py::arg(
"iterate"))
25 .def(
"check", &CounterTransformationChecker::check, py::arg(
"parameters"), py::arg(
"iterate"));
28 py::class_<DifferentialTransformationChecker, std::shared_ptr<DifferentialTransformationChecker>,
TransformationChecker>(pyTransformationCheckersImpl,
"DifferentialTransformationChecker")
29 .def_static(
"description", &DifferentialTransformationChecker::description)
30 .def_static(
"availableParameters", &DifferentialTransformationChecker::availableParameters)
32 .def_readonly(
"minDiffRotErr", &DifferentialTransformationChecker::minDiffRotErr)
33 .def_readonly(
"minDiffTransErr", &DifferentialTransformationChecker::minDiffTransErr)
34 .def_readonly(
"smoothLength", &DifferentialTransformationChecker::smoothLength)
36 .def(py::init<const Parameters&>(), py::arg(
"params") =
Parameters())
37 .def(
"init", &DifferentialTransformationChecker::init, py::arg(
"parameters"), py::arg(
"iterate"))
38 .def(
"check", &DifferentialTransformationChecker::check, py::arg(
"parameters"), py::arg(
"iterate"));
41 py::class_<BoundTransformationChecker, std::shared_ptr<BoundTransformationChecker>,
TransformationChecker>(pyTransformationCheckersImpl,
"BoundTransformationChecker")
42 .def_static(
"description", &BoundTransformationChecker::description)
43 .def_static(
"availableParameters", &BoundTransformationChecker::availableParameters)
45 .def_readonly(
"minDiffRotErr", &BoundTransformationChecker::maxRotationNorm)
46 .def_readonly(
"minDiffTransErr", &BoundTransformationChecker::maxTranslationNorm)
48 .def(py::init<const Parameters&>(), py::arg(
"params") =
Parameters())
49 .def(
"init", &BoundTransformationChecker::init, py::arg(
"parameters"), py::arg(
"iterate"))
50 .def(
"check", &BoundTransformationChecker::check, py::arg(
"parameters"), py::arg(
"iterate"));
void pybindTransformationCheckersImpl(py::module &p_module)
PM::Parameters Parameters
PM::TransformationChecker TransformationChecker