normal_space.cpp
Go to the documentation of this file.
1 #include "normal_space.h"
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindNormalSpace(py::module& p_module)
10  {
12  py::class_<NormalSpaceDataPointsFilter, std::shared_ptr<NormalSpaceDataPointsFilter>, DataPointsFilter>(p_module, "NormalSpaceDataPointsFilter")
13  .def_static("description", &NormalSpaceDataPointsFilter::description)
14  .def_static("availableParameters", &NormalSpaceDataPointsFilter::availableParameters)
15 
16  .def_readonly("nbSample", &NormalSpaceDataPointsFilter::nbSample)
17  .def_readonly("seed", &NormalSpaceDataPointsFilter::seed)
18  .def_readonly("epsilon", &NormalSpaceDataPointsFilter::epsilon)
19 
20  .def(py::init<const Parameters&>(), py::arg("params") = Parameters(), "Constructor, uses parameter interface")
21 
23  .def("inPlaceFilter", &NormalSpaceDataPointsFilter::inPlaceFilter);
24  }
25  }
26 }
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition: pypoint_matcher_helper.h:22
NormalSpaceDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition: NormalSpace.h:63
NormalSpaceDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition: NormalSpace.cpp:69
python::datapointsfilters::pybindNormalSpace
void pybindNormalSpace(py::module &p_module)
Definition: normal_space.cpp:9
Parameters
PM::Parameters Parameters
Definition: filterProfiler.cpp:20
normal_space.h
NormalSpaceDataPointsFilter::seed
const std::size_t seed
Definition: NormalSpace.h:74
python
Definition: add_descriptor.cpp:5
NormalSpace.h
NormalSpaceDataPointsFilter::description
static const std::string description()
Definition: NormalSpace.h:58
NormalSpaceDataPointsFilter::nbSample
const std::size_t nbSample
Definition: NormalSpace.h:73
NormalSpaceDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition: NormalSpace.cpp:59
NormalSpaceDataPointsFilter::epsilon
const T epsilon
Definition: NormalSpace.h:75
NormalSpaceDataPointsFilter
Definition: NormalSpace.h:40


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