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 }
void pybindICP(py::class_< PM > &p_class)
PM::ICP ICP
PM::TransformationParameters TransformationParameters


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:02