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


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