sphericality.cpp
Go to the documentation of this file.
1 #include "sphericality.h"
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindSphericality(py::module& p_module)
10  {
12  py::class_<SphericalityDataPointsFilter, std::shared_ptr<SphericalityDataPointsFilter>, DataPointsFilter>(p_module, "SphericalityDataPointsFilter")
13 
14  .def_static("description", &SphericalityDataPointsFilter::description)
15  .def_static("availableParameters", &SphericalityDataPointsFilter::availableParameters)
16 
17  .def_readonly("keepUnstructureness", &SphericalityDataPointsFilter::keepUnstructureness)
18  .def_readonly("keepStructureness", &SphericalityDataPointsFilter::keepStructureness)
19 
20  .def(py::init<const Parameters&>(), py::arg("params") = Parameters(), "Constructor, uses parameter interface")
21 
23  .def("inPlaceFilter", &SphericalityDataPointsFilter::inPlaceFilter);
24  }
25  }
26 }
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
static const std::string description()
Definition: Sphericality.h:64
PM::Parameters Parameters
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
static const ParametersDoc availableParameters()
Definition: Sphericality.h:72
void pybindSphericality(py::module &p_module)
Definition: sphericality.cpp:9
PM::DataPointsFilter DataPointsFilter


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