point_matcher.cpp
Go to the documentation of this file.
2 
3 #include "data_points.h"
4 #include "transformation.h"
5 #include "transformations.h"
6 #include "data_points_filter.h"
7 #include "data_points_filters.h"
8 #include "inspector.h"
9 #include "matcher.h"
10 #include "matches.h"
11 #include "outlier_filter.h"
12 #include "outlier_filters.h"
13 #include "error_minimizer.h"
14 #include "transformation_checker.h"
16 #include "icp_chain_base.h"
17 #include "icp.h"
18 #include "icp_sequence.h"
19 
20 namespace python
21 {
22  namespace pointmatcher
23  {
24  void pybindPointMatcher(py::module& p_module)
25  {
26  py::class_<PM> pyPointmatcher(p_module, "PointMatcher");
27 
28  pyPointmatcher
29  .doc() = "Functions and classes that are dependant on scalar type are defined in this templatized class";
30 
31  using ConvergenceError = PM::ConvergenceError;
32  py::register_exception<ConvergenceError>(pyPointmatcher, "ConvergenceError");
33 
34  pybindDataPoints(pyPointmatcher);
35  pybindMatches(pyPointmatcher);
36  pybindTranformation(pyPointmatcher);
37  pybindTranformations(pyPointmatcher);
38  pybindDataPointsFilter(pyPointmatcher);
39  pybindDataPointsFilters(pyPointmatcher);
40  pybindMatcher(pyPointmatcher);
41  pybindOutlierFilter(pyPointmatcher);
42  pybindOutlierFilters(pyPointmatcher);
43  pybindErrorMinimizer(pyPointmatcher);
44  pybindTransformationChecker(pyPointmatcher);
45  pybindTransformationCheckers(pyPointmatcher);
46  pybindInspector(pyPointmatcher);
47  pybindICPChainBase(pyPointmatcher);
48  pybindICP(pyPointmatcher);
49  pybindICPSequence(pyPointmatcher);
50 
51  pyPointmatcher.def_static("swapDataPoints", &PM::swapDataPoints, py::arg("a"), py::arg("b"))
52  .def_readwrite("TransformationRegistrar", &PM::TransformationRegistrar)
53  .def_readwrite("DataPointsFilterRegistrar", &PM::DataPointsFilterRegistrar)
54  .def_readwrite("MatcherRegistrar", &PM::MatcherRegistrar)
55  .def_readwrite("OutlierFilterRegistrar", &PM::OutlierFilterRegistrar)
56  .def_readwrite("ErrorMinimizerRegistrar", &PM::ErrorMinimizerRegistrar)
57  .def_readwrite("TransformationCheckerRegistrar", &PM::TransformationCheckerRegistrar)
58  .def_readwrite("InspectorRegistrar", &PM::InspectorRegistrar)
59  .def_readwrite("LoggerRegistrar", &PM::LoggerRegistrar)
60  .def_static("get", &PM::get, py::return_value_policy::reference);
61  }
62  }
63 }
error_minimizer.h
transformations.h
compute_overlap.reference
reference
Definition: compute_overlap.py:71
python::pointmatcher::pybindICP
void pybindICP(py::class_< PM > &p_class)
Definition: python/pointmatcher/icp.cpp:7
python::pointmatcher::pybindMatcher
void pybindMatcher(py::class_< PM > &p_class)
Definition: matcher.cpp:7
python::pointmatcher::pybindICPChainBase
void pybindICPChainBase(py::class_< PM > &p_class)
Definition: icp_chain_base.cpp:9
python::pointmatcher::pybindInspector
void pybindInspector(py::class_< PM > &p_class)
Definition: inspector.cpp:7
transformation.h
python::pointmatcher::pybindDataPointsFilter
void pybindDataPointsFilter(py::class_< PM > &p_class)
Definition: data_points_filter.cpp:7
matcher.h
MatcherRegistrar
pms::Registrar< Matcher > MatcherRegistrar
Definition: pypoint_matcher_helper.h:48
python::pointmatcher::pybindErrorMinimizer
void pybindErrorMinimizer(py::class_< PM > &p_class)
Definition: error_minimizer.cpp:7
TransformationCheckerRegistrar
pms::Registrar< TransformationChecker > TransformationCheckerRegistrar
Definition: pypoint_matcher_helper.h:51
outlier_filters.h
pypoint_matcher_helper.h
python::pointmatcher::pybindICPSequence
void pybindICPSequence(py::class_< PM > &p_class)
Definition: icp_sequence.cpp:9
data_points_filters.h
ErrorMinimizerRegistrar
pms::Registrar< ErrorMinimizer > ErrorMinimizerRegistrar
Definition: pypoint_matcher_helper.h:45
python::pointmatcher::pybindTranformations
void pybindTranformations(py::class_< PM > &p_class)
Definition: transformations.cpp:7
python::pointmatcher::pybindTranformation
void pybindTranformation(py::class_< PM > &p_class)
Definition: transformation.cpp:7
python
Definition: add_descriptor.cpp:5
LoggerRegistrar
pms::Registrar< Logger > LoggerRegistrar
Definition: pypoint_matcher_helper.h:47
transformation_checker.h
python::pointmatcher::pybindOutlierFilters
void pybindOutlierFilters(py::class_< PM > &p_class)
Definition: outlier_filters.cpp:7
PointMatcher< float >::swapDataPoints
static void swapDataPoints(DataPoints &a, DataPoints &b)
Exchange in place point clouds a and b, with no data copy.
Definition: pointmatcher/DataPoints.cpp:1023
InspectorRegistrar
pms::Registrar< Inspector > InspectorRegistrar
Definition: pypoint_matcher_helper.h:46
TransformationRegistrar
pms::Registrar< Transformation > TransformationRegistrar
Definition: pypoint_matcher_helper.h:50
python::pointmatcher::pybindTransformationChecker
void pybindTransformationChecker(py::class_< PM > &p_class)
Definition: transformation_checker.cpp:7
python::pointmatcher::pybindDataPoints
void pybindDataPoints(py::class_< PM > &p_class)
Definition: data_points.cpp:7
icp_chain_base.h
python::pointmatcher::pybindMatches
void pybindMatches(py::class_< PM > &p_class)
Definition: matches.cpp:7
python::pointmatcher::pybindTransformationCheckers
void pybindTransformationCheckers(py::class_< PM > &p_class)
Definition: transformation_checkers.cpp:7
data_points.h
data_points_filter.h
PointMatcher< float >::get
static const PointMatcher & get()
Return instances.
Definition: Registry.cpp:146
outlier_filter.h
python::pointmatcher::pybindDataPointsFilters
void pybindDataPointsFilters(py::class_< PM > &p_class)
Definition: data_points_filters.cpp:9
icp_sequence.h
python::pointmatcher::pybindPointMatcher
void pybindPointMatcher(py::module &p_module)
Definition: point_matcher.cpp:24
python::pointmatcher::pybindOutlierFilter
void pybindOutlierFilter(py::class_< PM > &p_class)
Definition: outlier_filter.cpp:7
DataPointsFilterRegistrar
pms::Registrar< DataPointsFilter > DataPointsFilterRegistrar
Definition: pypoint_matcher_helper.h:44
icp.h
inspector.h
matches.h
OutlierFilterRegistrar
pms::Registrar< OutlierFilter > OutlierFilterRegistrar
Definition: pypoint_matcher_helper.h:49
transformation_checkers.h


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