python
datapointsfilters
cut_at_descriptor_threshold.cpp
Go to the documentation of this file.
1
#include "
cut_at_descriptor_threshold.h
"
2
3
#include "
DataPointsFilters/CutAtDescriptorThreshold.h
"
4
5
namespace
python
6
{
7
namespace
datapointsfilters
8
{
9
void
pybindCutAtDescriptorThreshold
(py::module& p_module)
10
{
11
using
CutAtDescriptorThresholdDataPointsFilter
=
CutAtDescriptorThresholdDataPointsFilter<ScalarType>
;
12
py::class_<CutAtDescriptorThresholdDataPointsFilter, std::shared_ptr<CutAtDescriptorThresholdDataPointsFilter>,
DataPointsFilter
>(p_module,
"CutAtDescriptorThresholdDataPointsFilter"
)
13
.def_static(
"description"
, &
CutAtDescriptorThresholdDataPointsFilter::description
)
14
.def_static(
"availableParameters"
, &
CutAtDescriptorThresholdDataPointsFilter::availableParameters
)
15
16
.def_readonly(
"descName"
, &
CutAtDescriptorThresholdDataPointsFilter::descName
)
17
.def_readonly(
"useLargerThan"
, &
CutAtDescriptorThresholdDataPointsFilter::useLargerThan
)
18
.def_readonly(
"threshold"
, &
CutAtDescriptorThresholdDataPointsFilter::threshold
)
19
20
.def(py::init<const Parameters&>(), py::arg(
"params"
) =
Parameters
(),
"Constructor, uses parameter interface"
)
21
22
.def(
"filter"
, &
CutAtDescriptorThresholdDataPointsFilter::filter
, py::arg(
"input"
))
23
.def(
"inPlaceFilter"
, &
CutAtDescriptorThresholdDataPointsFilter::inPlaceFilter
, py::arg(
"cloud"
));
24
}
25
}
26
}
CutAtDescriptorThresholdDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition:
CutAtDescriptorThreshold.cpp:62
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition:
pypoint_matcher_helper.h:22
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
CutAtDescriptorThreshold.h
CutAtDescriptorThresholdDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition:
CutAtDescriptorThreshold.h:59
CutAtDescriptorThresholdDataPointsFilter::threshold
const T threshold
Definition:
CutAtDescriptorThreshold.h:70
python
Definition:
add_descriptor.cpp:5
CutAtDescriptorThresholdDataPointsFilter::descName
const std::string descName
Definition:
CutAtDescriptorThreshold.h:68
CutAtDescriptorThresholdDataPointsFilter::useLargerThan
const bool useLargerThan
Definition:
CutAtDescriptorThreshold.h:69
CutAtDescriptorThresholdDataPointsFilter::description
static const std::string description()
Definition:
CutAtDescriptorThreshold.h:55
python::datapointsfilters::pybindCutAtDescriptorThreshold
void pybindCutAtDescriptorThreshold(py::module &p_module)
Definition:
cut_at_descriptor_threshold.cpp:9
CutAtDescriptorThresholdDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition:
CutAtDescriptorThreshold.cpp:53
cut_at_descriptor_threshold.h
CutAtDescriptorThresholdDataPointsFilter
Subsampling. Cut points with value of a given descriptor above or below a given threshold.
Definition:
CutAtDescriptorThreshold.h:43
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:07