surface_normal.cpp
Go to the documentation of this file.
1 #include "surface_normal.h"
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindSurfaceNormal(py::module& p_module)
10  {
12  py::class_<SurfaceNormalDataPointsFilter, std::shared_ptr<SurfaceNormalDataPointsFilter>, DataPointsFilter>(p_module, "SurfaceNormalDataPointsFilter")
13 
14  .def_static("description", &SurfaceNormalDataPointsFilter::description)
15  .def_static("availableParameters", &SurfaceNormalDataPointsFilter::availableParameters)
16 
17  .def_readonly("knn", &SurfaceNormalDataPointsFilter::knn)
18  .def_readonly("maxDist", &SurfaceNormalDataPointsFilter::maxDist)
19  .def_readonly("epsilon", &SurfaceNormalDataPointsFilter::epsilon)
20  .def_readonly("keepNormals", &SurfaceNormalDataPointsFilter::keepNormals)
21  .def_readonly("keepDensities", &SurfaceNormalDataPointsFilter::keepDensities)
22  .def_readonly("keepEigenValues", &SurfaceNormalDataPointsFilter::keepEigenValues)
23  .def_readonly("keepEigenVectors", &SurfaceNormalDataPointsFilter::keepEigenVectors)
24  .def_readonly("keepMatchedIds", &SurfaceNormalDataPointsFilter::keepMatchedIds)
25  .def_readonly("keepMeanDist", &SurfaceNormalDataPointsFilter::keepMeanDist)
26  .def_readonly("sortEigen", &SurfaceNormalDataPointsFilter::sortEigen)
27  .def_readonly("smoothNormals", &SurfaceNormalDataPointsFilter::smoothNormals)
28 
29  .def(py::init<const Parameters&>(), py::arg("params") = Parameters(), "Constructor, uses parameter interface")
30 
32  .def("inPlaceFilter", &SurfaceNormalDataPointsFilter::inPlaceFilter);
33  }
34  }
35 }
static const ParametersDoc availableParameters()
Definition: SurfaceNormal.h:65
void pybindSurfaceNormal(py::module &p_module)
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
PM::Parameters Parameters
static const std::string description()
Definition: SurfaceNormal.h:57
Surface normals estimation. Find the normal for every point using eigen-decomposition of neighbour po...
Definition: SurfaceNormal.h:43
PM::DataPointsFilter DataPointsFilter


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:03