python
datapointsfilters
distance_limit.cpp
Go to the documentation of this file.
1
#include "
distance_limit.h
"
2
3
#include "
DataPointsFilters/DistanceLimit.h
"
4
5
namespace
python
6
{
7
namespace
datapointsfilters
8
{
9
void
pybindDistanceLimit
(py::module& p_module)
10
{
11
using
DistanceLimitDataPointsFilter
=
DistanceLimitDataPointsFilter<ScalarType>
;
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
}
DistanceLimitDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition:
DistanceLimit.cpp:61
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition:
pypoint_matcher_helper.h:22
DistanceLimitDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition:
DistanceLimit.h:56
DistanceLimitDataPointsFilter
Subsampling. Filter points based on distance measured on a specific axis.
Definition:
DistanceLimit.h:41
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
DistanceLimitDataPointsFilter::dist
const T dist
Definition:
DistanceLimit.h:66
DistanceLimitDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition:
DistanceLimit.cpp:51
python::datapointsfilters::pybindDistanceLimit
void pybindDistanceLimit(py::module &p_module)
Definition:
distance_limit.cpp:9
DistanceLimitDataPointsFilter::removeInside
const bool removeInside
Definition:
DistanceLimit.h:67
DistanceLimit.h
python
Definition:
add_descriptor.cpp:5
DistanceLimitDataPointsFilter::dim
const int dim
Definition:
DistanceLimit.h:65
distance_limit.h
DistanceLimitDataPointsFilter::description
static const std::string description()
Definition:
DistanceLimit.h:52
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:07