ellipsoids.cpp
Go to the documentation of this file.
1 #include "ellipsoids.h"
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindEllipsoids(py::module& p_module)
10  {
12  py::class_<ElipsoidsDataPointsFilter, std::shared_ptr<ElipsoidsDataPointsFilter>, DataPointsFilter> ellipsoidClass(p_module, "EllipsoidsDataPointsFilter");
13 
14  ellipsoidClass.def_static("description", &ElipsoidsDataPointsFilter::description)
15  .def_static("availableParameters", &ElipsoidsDataPointsFilter::availableParameters)
16 
17  .def_readonly("ratio", &ElipsoidsDataPointsFilter::ratio)
18  .def_readonly("knn", &ElipsoidsDataPointsFilter::knn)
19  .def_readonly("samplingMethod", &ElipsoidsDataPointsFilter::samplingMethod)
20  .def_readonly("maxBoxDim", &ElipsoidsDataPointsFilter::maxBoxDim)
21  .def_readonly("maxTimeWindow", &ElipsoidsDataPointsFilter::maxTimeWindow)
22  .def_readonly("minPlanarity", &ElipsoidsDataPointsFilter::minPlanarity)
23  .def_readonly("averageExistingDescriptors", &ElipsoidsDataPointsFilter::averageExistingDescriptors)
24  .def_readonly("keepNormals", &ElipsoidsDataPointsFilter::keepNormals)
25  .def_readonly("keepDensities", &ElipsoidsDataPointsFilter::keepDensities)
26  .def_readonly("keepEigenValues", &ElipsoidsDataPointsFilter::keepEigenValues)
27  .def_readonly("keepEigenVectors", &ElipsoidsDataPointsFilter::keepEigenVectors)
28  .def_readonly("keepCovariances", &ElipsoidsDataPointsFilter::keepCovariances)
29  .def_readonly("keepWeights", &ElipsoidsDataPointsFilter::keepWeights)
30  .def_readonly("keepMeans", &ElipsoidsDataPointsFilter::keepMeans)
31  .def_readonly("keepShapes", &ElipsoidsDataPointsFilter::keepShapes)
32  .def_readonly("keepIndices", &ElipsoidsDataPointsFilter::keepIndices)
33 
34  .def(py::init<const Parameters&>(), py::arg("params") = Parameters(), "Constructor, uses parameter interface")
35 
36  .def("filter", &ElipsoidsDataPointsFilter::filter, py::arg("input"))
37  .def("inPlaceFilter", &ElipsoidsDataPointsFilter::inPlaceFilter, py::arg("cloud"));
38  }
39  }
40 }
ElipsoidsDataPointsFilter::keepEigenValues
const bool keepEigenValues
Definition: Elipsoids.h:91
ElipsoidsDataPointsFilter::keepNormals
const bool keepNormals
Definition: Elipsoids.h:89
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition: pypoint_matcher_helper.h:22
ElipsoidsDataPointsFilter::averageExistingDescriptors
const bool averageExistingDescriptors
Definition: Elipsoids.h:88
ElipsoidsDataPointsFilter::keepDensities
const bool keepDensities
Definition: Elipsoids.h:90
Parameters
PM::Parameters Parameters
Definition: filterProfiler.cpp:20
ElipsoidsDataPointsFilter::keepWeights
const bool keepWeights
Definition: Elipsoids.h:94
python::datapointsfilters::pybindEllipsoids
void pybindEllipsoids(py::module &p_module)
Definition: ellipsoids.cpp:9
ElipsoidsDataPointsFilter::keepMeans
const bool keepMeans
Definition: Elipsoids.h:95
ElipsoidsDataPointsFilter::description
static const std::string description()
Definition: Elipsoids.h:55
ElipsoidsDataPointsFilter::keepEigenVectors
const bool keepEigenVectors
Definition: Elipsoids.h:92
ellipsoids.h
ElipsoidsDataPointsFilter::keepShapes
const bool keepShapes
Definition: Elipsoids.h:96
ElipsoidsDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Definition: Elipsoids.cpp:74
ElipsoidsDataPointsFilter::keepCovariances
const bool keepCovariances
Definition: Elipsoids.h:93
python
Definition: add_descriptor.cpp:5
ElipsoidsDataPointsFilter::minPlanarity
const T minPlanarity
Definition: Elipsoids.h:87
ElipsoidsDataPointsFilter
Subsampling Surfels (Elipsoids) filter. First decimate the space until there is at most knn points,...
Definition: Elipsoids.h:41
ElipsoidsDataPointsFilter::ratio
const T ratio
Definition: Elipsoids.h:82
ElipsoidsDataPointsFilter::maxBoxDim
const T maxBoxDim
Definition: Elipsoids.h:85
ElipsoidsDataPointsFilter::samplingMethod
const unsigned samplingMethod
Definition: Elipsoids.h:84
ElipsoidsDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Definition: Elipsoids.cpp:83
ElipsoidsDataPointsFilter::knn
const unsigned knn
Definition: Elipsoids.h:83
ElipsoidsDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition: Elipsoids.h:59
Elipsoids.h
ElipsoidsDataPointsFilter::maxTimeWindow
const T maxTimeWindow
Definition: Elipsoids.h:86
ElipsoidsDataPointsFilter::keepIndices
const bool keepIndices
Definition: Elipsoids.h:97


libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:08