cut_at_descriptor_threshold.cpp
Go to the documentation of this file.
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindCutAtDescriptorThreshold(py::module& p_module)
10  {
12  py::class_<CutAtDescriptorThresholdDataPointsFilter, std::shared_ptr<CutAtDescriptorThresholdDataPointsFilter>, DataPointsFilter>(p_module, "CutAtDescriptorThresholdDataPointsFilter")
14  .def_static("availableParameters", &CutAtDescriptorThresholdDataPointsFilter::availableParameters)
15 
16  .def_readonly("descName", &CutAtDescriptorThresholdDataPointsFilter::descName)
17  .def_readonly("useLargerThan", &CutAtDescriptorThresholdDataPointsFilter::useLargerThan)
18  .def_readonly("threshold", &CutAtDescriptorThresholdDataPointsFilter::threshold)
19 
20  .def(py::init<const Parameters&>(), py::arg("params") = Parameters(), "Constructor, uses parameter interface")
21 
22  .def("filter", &CutAtDescriptorThresholdDataPointsFilter::filter, py::arg("input"))
23  .def("inPlaceFilter", &CutAtDescriptorThresholdDataPointsFilter::inPlaceFilter, py::arg("cloud"));
24  }
25  }
26 }
Subsampling. Cut points with value of a given descriptor above or below a given threshold.
static const ParametersDoc availableParameters()
PM::Parameters Parameters
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
void pybindCutAtDescriptorThreshold(py::module &p_module)
PM::DataPointsFilter DataPointsFilter


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