distance_limit.cpp
Go to the documentation of this file.
1 #include "distance_limit.h"
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindDistanceLimit(py::module& p_module)
10  {
12  py::class_<DistanceLimitDataPointsFilter, std::shared_ptr<DistanceLimitDataPointsFilter>, DataPointsFilter>(p_module, "DistanceLimitDataPointsFilter")
13  .def_static("description", &DistanceLimitDataPointsFilter::description)
14  .def_static("availableParameters", &DistanceLimitDataPointsFilter::availableParameters)
15 
16  .def_readonly("dim", &DistanceLimitDataPointsFilter::dim)
17  .def_readonly("dist", &DistanceLimitDataPointsFilter::dist)
18  .def_readonly("removeInside", &DistanceLimitDataPointsFilter::removeInside)
19 
20  .def(py::init<const Parameters&>(), py::arg("params") = Parameters(), "Constructor, uses parameter interface")
21 
22  .def("filter", &DistanceLimitDataPointsFilter::filter, py::arg("input"))
23  .def("inPlaceFilter", &DistanceLimitDataPointsFilter::inPlaceFilter, py::arg("cloud"));
24  }
25  }
26 }
Subsampling. Filter points based on distance measured on a specific axis.
Definition: DistanceLimit.h:41
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: DistanceLimit.h:56
PM::Parameters Parameters
static const std::string description()
Definition: DistanceLimit.h:52
void pybindDistanceLimit(py::module &p_module)
PM::DataPointsFilter DataPointsFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.


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