11 py::class_<ICPSequence, ICP> pyICPSequence(p_class,
"ICPSequence");
13 pyICPSequence.doc() = R
"pbdoc( 14 ICP alogrithm, taking a sequence of clouds and using a map 15 Warning: used with caution, you need to set the map manually. 18 pyICPSequence.def(py::init<>()) 21 .def(
"compute", &ICPSequence::compute, py::arg(
"cloudIn"), py::arg(
"initialTransformationParameters"))
23 .def(
"hasMap", &ICPSequence::hasMap).def(
"setMap", &ICPSequence::setMap)
24 .def(
"clearMap", &ICPSequence::clearMap).def(
"setDefault", &ICPSequence::setDefault)
27 std::ifstream ifs(in.c_str());
28 self.loadFromYaml(ifs);
29 }).def(
"getPrefilteredInternalMap", &ICPSequence::getPrefilteredInternalMap)
30 .def(
"getPrefilteredMap", &ICPSequence::getPrefilteredMap);
void pybindICPSequence(py::class_< PM > &p_class)
PM::ICPSequence ICPSequence
PM::TransformationParameters TransformationParameters