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


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