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 }
const bool keepCovariances
Definition: Elipsoids.h:93
const bool averageExistingDescriptors
Definition: Elipsoids.h:88
virtual void inPlaceFilter(DataPoints &cloud)
Definition: Elipsoids.cpp:83
const unsigned samplingMethod
Definition: Elipsoids.h:84
PM::Parameters Parameters
const unsigned knn
Definition: Elipsoids.h:83
static const ParametersDoc availableParameters()
Definition: Elipsoids.h:59
void pybindEllipsoids(py::module &p_module)
Definition: ellipsoids.cpp:9
static const std::string description()
Definition: Elipsoids.h:55
const bool keepDensities
Definition: Elipsoids.h:90
const bool keepEigenValues
Definition: Elipsoids.h:91
PM::DataPointsFilter DataPointsFilter
virtual DataPoints filter(const DataPoints &input)
Definition: Elipsoids.cpp:74
const bool keepEigenVectors
Definition: Elipsoids.h:92
Subsampling Surfels (Elipsoids) filter. First decimate the space until there is at most knn points...
Definition: Elipsoids.h:41


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:36:30