python
datapointsfilters
sampling_surface_normal.cpp
Go to the documentation of this file.
1
#include "
sampling_surface_normal.h
"
2
3
#include "
DataPointsFilters/SamplingSurfaceNormal.h
"
4
5
namespace
python
6
{
7
namespace
datapointsfilters
8
{
9
void
pybindSamplingSurfaceNormal
(py::module& p_module)
10
{
11
using
SamplingSurfaceNormalDataPointsFilter
=
SamplingSurfaceNormalDataPointsFilter<ScalarType>
;
12
py::class_<SamplingSurfaceNormalDataPointsFilter, std::shared_ptr<SamplingSurfaceNormalDataPointsFilter>,
DataPointsFilter
>(p_module,
"SamplingSurfaceNormalDataPointsFilter"
)
13
14
.def_static(
"description"
, &
SamplingSurfaceNormalDataPointsFilter::description
)
15
.def_static(
"availableParameters"
, &
SamplingSurfaceNormalDataPointsFilter::availableParameters
)
16
17
.def_readonly(
"ratio"
, &
SamplingSurfaceNormalDataPointsFilter::ratio
)
18
.def_readonly(
"knn"
, &
SamplingSurfaceNormalDataPointsFilter::knn
)
19
.def_readonly(
"samplingMethod"
, &
SamplingSurfaceNormalDataPointsFilter::samplingMethod
)
20
.def_readonly(
"maxBoxDim"
, &
SamplingSurfaceNormalDataPointsFilter::maxBoxDim
)
21
.def_readonly(
"averageExistingDescriptors"
, &
SamplingSurfaceNormalDataPointsFilter::averageExistingDescriptors
)
22
.def_readonly(
"keepNormals"
, &
SamplingSurfaceNormalDataPointsFilter::keepNormals
)
23
.def_readonly(
"keepDensities"
, &
SamplingSurfaceNormalDataPointsFilter::keepDensities
)
24
.def_readonly(
"keepEigenValues"
, &
SamplingSurfaceNormalDataPointsFilter::keepEigenValues
)
25
.def_readonly(
"keepEigenVectors"
, &
SamplingSurfaceNormalDataPointsFilter::keepEigenVectors
)
26
27
.def(py::init<const Parameters&>(), py::arg(
"params"
) =
Parameters
(),
"Constructor, uses parameter interface"
)
28
29
.def(
"filter"
, &
SamplingSurfaceNormalDataPointsFilter::filter
)
30
.def(
"inPlaceFilter"
, &
SamplingSurfaceNormalDataPointsFilter::inPlaceFilter
);
31
}
32
}
33
}
SamplingSurfaceNormalDataPointsFilter::maxBoxDim
const T maxBoxDim
Definition:
SamplingSurfaceNormal.h:78
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition:
pypoint_matcher_helper.h:22
sampling_surface_normal.h
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
SamplingSurfaceNormalDataPointsFilter::keepNormals
const bool keepNormals
Definition:
SamplingSurfaceNormal.h:80
SamplingSurfaceNormalDataPointsFilter::keepEigenValues
const bool keepEigenValues
Definition:
SamplingSurfaceNormal.h:82
SamplingSurfaceNormalDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition:
SamplingSurfaceNormal.h:60
python
Definition:
add_descriptor.cpp:5
SamplingSurfaceNormalDataPointsFilter::samplingMethod
const unsigned samplingMethod
Definition:
SamplingSurfaceNormal.h:77
SamplingSurfaceNormalDataPointsFilter
Sampling surface normals. First decimate the space until there is at most knn points,...
Definition:
SamplingSurfaceNormal.h:41
SamplingSurfaceNormalDataPointsFilter::keepDensities
const bool keepDensities
Definition:
SamplingSurfaceNormal.h:81
SamplingSurfaceNormalDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Definition:
SamplingSurfaceNormal.cpp:70
SamplingSurfaceNormalDataPointsFilter::averageExistingDescriptors
const bool averageExistingDescriptors
Definition:
SamplingSurfaceNormal.h:79
SamplingSurfaceNormalDataPointsFilter::description
static const std::string description()
Definition:
SamplingSurfaceNormal.h:56
SamplingSurfaceNormalDataPointsFilter::knn
const unsigned knn
Definition:
SamplingSurfaceNormal.h:76
SamplingSurfaceNormalDataPointsFilter::ratio
const T ratio
Definition:
SamplingSurfaceNormal.h:75
SamplingSurfaceNormalDataPointsFilter::keepEigenVectors
const bool keepEigenVectors
Definition:
SamplingSurfaceNormal.h:83
SamplingSurfaceNormal.h
SamplingSurfaceNormalDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Definition:
SamplingSurfaceNormal.cpp:80
python::datapointsfilters::pybindSamplingSurfaceNormal
void pybindSamplingSurfaceNormal(py::module &p_module)
Definition:
sampling_surface_normal.cpp:9
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:10