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 }
SurfaceNormalDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition: SurfaceNormal.cpp:72
SurfaceNormalDataPointsFilter::keepNormals
const bool keepNormals
Definition: SurfaceNormal.h:85
SurfaceNormalDataPointsFilter::sortEigen
const bool sortEigen
Definition: SurfaceNormal.h:91
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition: pypoint_matcher_helper.h:22
SurfaceNormalDataPointsFilter::keepEigenVectors
const bool keepEigenVectors
Definition: SurfaceNormal.h:88
Parameters
PM::Parameters Parameters
Definition: filterProfiler.cpp:20
SurfaceNormalDataPointsFilter::smoothNormals
const bool smoothNormals
Definition: SurfaceNormal.h:92
SurfaceNormalDataPointsFilter::keepDensities
const bool keepDensities
Definition: SurfaceNormal.h:86
SurfaceNormalDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition: SurfaceNormal.cpp:82
SurfaceNormalDataPointsFilter::keepMatchedIds
const bool keepMatchedIds
Definition: SurfaceNormal.h:89
SurfaceNormalDataPointsFilter::knn
const unsigned knn
Definition: SurfaceNormal.h:82
SurfaceNormalDataPointsFilter
Surface normals estimation. Find the normal for every point using eigen-decomposition of neighbour po...
Definition: SurfaceNormal.h:43
SurfaceNormalDataPointsFilter::description
static const std::string description()
Definition: SurfaceNormal.h:57
python
Definition: add_descriptor.cpp:5
SurfaceNormalDataPointsFilter::keepMeanDist
const bool keepMeanDist
Definition: SurfaceNormal.h:90
SurfaceNormalDataPointsFilter::epsilon
const T epsilon
Definition: SurfaceNormal.h:84
SurfaceNormalDataPointsFilter::keepEigenValues
const bool keepEigenValues
Definition: SurfaceNormal.h:87
SurfaceNormal.h
SurfaceNormalDataPointsFilter::maxDist
const T maxDist
Definition: SurfaceNormal.h:83
python::datapointsfilters::pybindSurfaceNormal
void pybindSurfaceNormal(py::module &p_module)
Definition: surface_normal.cpp:9
SurfaceNormalDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition: SurfaceNormal.h:65
surface_normal.h


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