15 py::module pointmatchersupportModule = p_module.def_submodule(
"pointmatchersupport");
18 py::register_exception<InvalidModuleType>(pointmatchersupportModule,
"InvalidModuleType");
21 py::register_exception<TransformationError>(pointmatchersupportModule,
"TransformationError");
24 py::register_exception<ConfigurationError>(pointmatchersupportModule,
"ConfigurationError");
27 py::register_exception<InvalidElement>(pointmatchersupportModule,
"InvalidElement");
35 pointmatchersupportModule
36 .def(
"setLogger", &
pms::setLogger, py::arg(
"newLogger"),
"Set a new logger, protected by a mutex")
37 .def(
"validateFile", &
pms::validateFile, py::arg(
"fileName"),
"Throw a runtime_error exception if fileName cannot be opened");
40 py::bind_map<CsvElements>(pointmatchersupportModule,
"CsvElements",
"Data from a CSV file")
41 .def(
"clear", &CsvElements::clear);