python
datapointsfilters
max_pointcount.cpp
Go to the documentation of this file.
1
#include "
max_pointcount.h
"
2
3
#include "
DataPointsFilters/MaxPointCount.h
"
4
5
namespace
python
6
{
7
namespace
datapointsfilters
8
{
9
void
pybindMaxPointCount
(py::module& p_module)
10
{
11
using
MaxPointCountDataPointsFilter
=
MaxPointCountDataPointsFilter<ScalarType>
;
12
py::class_<MaxPointCountDataPointsFilter, std::shared_ptr<MaxPointCountDataPointsFilter>,
DataPointsFilter
>(p_module,
"MaxPointCountDataPointsFilter"
)
13
.def_static(
"description"
, &
MaxPointCountDataPointsFilter::description
)
14
.def_static(
"availableParameters"
, &
MaxPointCountDataPointsFilter::availableParameters
)
15
16
.def_readonly(
"maxCount"
, &
MaxPointCountDataPointsFilter::maxCount
)
17
.def_readonly(
"seed"
, &
MaxPointCountDataPointsFilter::seed
)
18
19
.def(py::init<const Parameters&>(), py::arg(
"params"
) =
Parameters
(),
"Constructor, uses parameter interface"
)
20
21
.def(
"filter"
, &
MaxPointCountDataPointsFilter::filter
)
22
.def(
"inPlaceFilter"
, &
MaxPointCountDataPointsFilter::inPlaceFilter
);
23
}
24
}
25
}
MaxPointCountDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition:
MaxPointCount.cpp:67
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition:
pypoint_matcher_helper.h:22
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
MaxPointCountDataPointsFilter::seed
size_t seed
Definition:
MaxPointCount.h:66
max_pointcount.h
MaxPointCountDataPointsFilter::description
static const std::string description()
Definition:
MaxPointCount.h:52
MaxPointCountDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition:
MaxPointCount.cpp:58
MaxPointCountDataPointsFilter::maxCount
const size_t maxCount
Definition:
MaxPointCount.h:65
python
Definition:
add_descriptor.cpp:5
python::datapointsfilters::pybindMaxPointCount
void pybindMaxPointCount(py::module &p_module)
Definition:
max_pointcount.cpp:9
MaxPointCountDataPointsFilter
Maximum number of points.
Definition:
MaxPointCount.h:41
MaxPointCount.h
MaxPointCountDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition:
MaxPointCount.h:56
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:09