remove_nan.cpp
Go to the documentation of this file.
1 #include "remove_nan.h"
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindRemoveNaN(py::module& p_module)
10  {
12  py::class_<RemoveNaNDataPointsFilter, std::shared_ptr<RemoveNaNDataPointsFilter>, DataPointsFilter>(p_module, "RemoveNaNDataPointsFilter", "Remove points having NaN as coordinate")
13 
14  .def_static("description", &RemoveNaNDataPointsFilter::description)
15 
16  .def(py::init<>())
17 
18  .def("filter", &RemoveNaNDataPointsFilter::filter)
19  .def("inPlaceFilter", &RemoveNaNDataPointsFilter::inPlaceFilter);
20  }
21  }
22 }
Remove points having NaN as coordinate.
Definition: RemoveNaN.h:41
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition: RemoveNaN.cpp:49
static const std::string description()
Definition: RemoveNaN.h:45
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
Definition: RemoveNaN.cpp:39
void pybindRemoveNaN(py::module &p_module)
Definition: remove_nan.cpp:9
PM::DataPointsFilter DataPointsFilter


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