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


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