python
datapointsfilters
sphericality.cpp
Go to the documentation of this file.
1
#include "
sphericality.h
"
2
3
#include "
DataPointsFilters/Sphericality.h
"
4
5
namespace
python
6
{
7
namespace
datapointsfilters
8
{
9
void
pybindSphericality
(py::module& p_module)
10
{
11
using
SphericalityDataPointsFilter
=
SphericalityDataPointsFilter<ScalarType>
;
12
py::class_<SphericalityDataPointsFilter, std::shared_ptr<SphericalityDataPointsFilter>,
DataPointsFilter
>(p_module,
"SphericalityDataPointsFilter"
)
13
14
.def_static(
"description"
, &
SphericalityDataPointsFilter::description
)
15
.def_static(
"availableParameters"
, &
SphericalityDataPointsFilter::availableParameters
)
16
17
.def_readonly(
"keepUnstructureness"
, &
SphericalityDataPointsFilter::keepUnstructureness
)
18
.def_readonly(
"keepStructureness"
, &
SphericalityDataPointsFilter::keepStructureness
)
19
20
.def(py::init<const Parameters&>(), py::arg(
"params"
) =
Parameters
(),
"Constructor, uses parameter interface"
)
21
22
.def(
"filter"
, &
SphericalityDataPointsFilter::filter
)
23
.def(
"inPlaceFilter"
, &
SphericalityDataPointsFilter::inPlaceFilter
);
24
}
25
}
26
}
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition:
pypoint_matcher_helper.h:22
python::datapointsfilters::pybindSphericality
void pybindSphericality(py::module &p_module)
Definition:
sphericality.cpp:9
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
sphericality.h
SphericalityDataPointsFilter
Definition:
Sphericality.h:50
Sphericality.h
python
Definition:
add_descriptor.cpp:5
SphericalityDataPointsFilter::description
static const std::string description()
Definition:
Sphericality.h:64
SphericalityDataPointsFilter::keepStructureness
const bool keepStructureness
Definition:
Sphericality.h:81
SphericalityDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition:
Sphericality.cpp:61
SphericalityDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition:
Sphericality.cpp:71
SphericalityDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition:
Sphericality.h:72
SphericalityDataPointsFilter::keepUnstructureness
const bool keepUnstructureness
Definition:
Sphericality.h:80
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:10