7 namespace datapointsfilters
12 py::class_<RandomSamplingDataPointsFilter, std::shared_ptr<RandomSamplingDataPointsFilter>,
DataPointsFilter>(p_module,
"RandomSamplingDataPointsFilter",
"Random sampling")
20 .def(py::init<const Parameters&>(), py::arg(
"params") =
Parameters(),
"Constructor, uses parameter interface")
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
PM::Parameters Parameters
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
static const ParametersDoc availableParameters()
void pybindRandomSampling(py::module &p_module)
PM::DataPointsFilter DataPointsFilter
static const std::string description()