python
datapointsfilters
fix_step_sampling.cpp
Go to the documentation of this file.
1
#include "
fix_step_sampling.h
"
2
3
#include "
DataPointsFilters/FixStepSampling.h
"
4
5
namespace
python
6
{
7
namespace
datapointsfilters
8
{
9
void
pybindFixStepSampling
(py::module& p_module)
10
{
11
using
FixStepSamplingDataPointsFilter
=
FixStepSamplingDataPointsFilter<ScalarType>
;
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
22
.def(
"init"
, &
FixStepSamplingDataPointsFilter::init
)
23
.def(
"filter"
, &
FixStepSamplingDataPointsFilter::filter
, py::arg(
"input"
))
24
.def(
"inPlaceFilter"
, &
FixStepSamplingDataPointsFilter::inPlaceFilter
, py::arg(
"cloud"
));
25
}
26
}
27
}
FixStepSamplingDataPointsFilter
Systematic sampling, with variation over time.
Definition:
FixStepSampling.h:41
FixStepSamplingDataPointsFilter::startStep
const unsigned startStep
Definition:
FixStepSampling.h:66
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition:
pypoint_matcher_helper.h:22
python::datapointsfilters::pybindFixStepSampling
void pybindFixStepSampling(py::module &p_module)
Definition:
fix_step_sampling.cpp:9
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
fix_step_sampling.h
FixStepSampling.h
FixStepSamplingDataPointsFilter::init
virtual void init()
Init this filter.
Definition:
FixStepSampling.cpp:56
FixStepSamplingDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition:
FixStepSampling.cpp:64
python
Definition:
add_descriptor.cpp:5
FixStepSamplingDataPointsFilter::stepMult
const double stepMult
Definition:
FixStepSampling.h:68
FixStepSamplingDataPointsFilter::endStep
const unsigned endStep
Definition:
FixStepSampling.h:67
FixStepSamplingDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition:
FixStepSampling.h:56
FixStepSamplingDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition:
FixStepSampling.cpp:73
FixStepSamplingDataPointsFilter::description
static const std::string description()
Definition:
FixStepSampling.h:52
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:08