transformation_checker.cpp
Go to the documentation of this file.
2 
3 namespace python
4 {
5  namespace pointmatcher
6  {
7  void pybindTransformationChecker(py::class_<PM>& p_class)
8  {
9  py::class_<TransformationChecker, std::shared_ptr<TransformationChecker>, Parametrizable> pyTransformationChecker(p_class, "TransformationChecker");
10  pyTransformationChecker.doc() = R"pbdoc(
11 A transformation checker can stop the iteration depending on some conditions.
12 
13 For example, a condition can be the number of times the loop was executed, or it can be related to the matching error.
14  Because the modules can be chained, we defined that the relation between modules must agree through an OR-condition, while all AND-conditions are defined within a single module.
15 )pbdoc";
16 
17  pyTransformationChecker.def("getLimits", &TransformationChecker::getLimits)
18  .def("getConditionVariables", &TransformationChecker::getConditionVariables)
19  .def("getLimitNames", &TransformationChecker::getLimitNames)
20  .def("getConditionVariableNames", &TransformationChecker::getConditionVariableNames);
21  }
22  }
23 }
python
Definition: add_descriptor.cpp:5
transformation_checker.h
python::pointmatcher::pybindTransformationChecker
void pybindTransformationChecker(py::class_< PM > &p_class)
Definition: transformation_checker.cpp:7
PointMatcherSupport::Parametrizable
The superclass of classes that are constructed using generic parameters. This class provides the para...
Definition: Parametrizable.h:141


libpointmatcher
Author(s):
autogenerated on Mon Jan 1 2024 03:24:43