python/pointmatcher/icp.cpp
Go to the documentation of this file.
1 #include "icp.h"
2 
3 namespace python
4 {
5  namespace pointmatcher
6  {
7  void pybindICP(py::class_<PM>& p_class)
8  {
9  py::class_<ICP, ICPChaineBase>(p_class, "ICP", "ICP algorithm").def(py::init<>())
10  .def("__call__", (TransformationParameters (ICP::*)(const DataPoints&, const DataPoints&)) &ICP::operator(), py::arg("readingIn"), py::arg("referenceIn"))
11  .def("__call__", (TransformationParameters (ICP::*)(const DataPoints&, const DataPoints&, const TransformationParameters&)) &ICP::operator(), py::arg("readingIn"), py::arg("referenceIn"), py::arg("initialTransformationParameters"))
12  .def("compute", &ICP::compute, py::arg("readingIn"), py::arg("referenceIn"), py::arg("initialTransformationParameters"))
13  .def("getReadingFiltered", &ICP::getReadingFiltered, "Return the filtered point cloud reading used in the ICP chain");
14  }
15  }
16 }
python::pointmatcher::pybindICP
void pybindICP(py::class_< PM > &p_class)
Definition: python/pointmatcher/icp.cpp:7
PointMatcher::DataPoints
A point cloud.
Definition: PointMatcher.h:207
python
Definition: add_descriptor.cpp:5
ICP
PM::ICP ICP
Definition: pypoint_matcher_helper.h:33
TransformationParameters
PM::TransformationParameters TransformationParameters
Definition: pypoint_matcher_helper.h:63
icp.h


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