orient_normals.cpp
Go to the documentation of this file.
1 #include "orient_normals.h"
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindOrientNormals(py::module& p_module)
10  {
12  py::class_<OrientNormalsDataPointsFilter, std::shared_ptr<OrientNormalsDataPointsFilter>, DataPointsFilter>(p_module, "OrientNormalsDataPointsFilter", "Reorientation of normals")
13 
14  .def_static("description", &OrientNormalsDataPointsFilter::description)
15  .def_static("availableParameters", &OrientNormalsDataPointsFilter::availableParameters)
16 
17  .def_readonly("towardCenter", &OrientNormalsDataPointsFilter::towardCenter)
18 
19  .def(py::init<const Parameters&>(), py::arg("params") = Parameters(), "Constructor, uses parameter interface")
20 
22  .def("inPlaceFilter", &OrientNormalsDataPointsFilter::inPlaceFilter);
23  }
24  }
25 }
OrientNormals.h
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition: pypoint_matcher_helper.h:22
OrientNormalsDataPointsFilter
Reorientation of normals.
Definition: OrientNormals.h:41
Parameters
PM::Parameters Parameters
Definition: filterProfiler.cpp:20
OrientNormalsDataPointsFilter::description
static const std::string description()
Definition: OrientNormals.h:54
OrientNormalsDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition: OrientNormals.cpp:51
python::datapointsfilters::pybindOrientNormals
void pybindOrientNormals(py::module &p_module)
Definition: orient_normals.cpp:9
python
Definition: add_descriptor.cpp:5
orient_normals.h
OrientNormalsDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition: OrientNormals.cpp:60
OrientNormalsDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition: OrientNormals.h:59
OrientNormalsDataPointsFilter::towardCenter
const bool towardCenter
Definition: OrientNormals.h:71


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