python
datapointsfilters
remove_nan.cpp
Go to the documentation of this file.
1
#include "
remove_nan.h
"
2
3
#include "
DataPointsFilters/RemoveNaN.h
"
4
5
namespace
python
6
{
7
namespace
datapointsfilters
8
{
9
void
pybindRemoveNaN
(py::module& p_module)
10
{
11
using
RemoveNaNDataPointsFilter
=
RemoveNaNDataPointsFilter<ScalarType>
;
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_nan.h
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition:
pypoint_matcher_helper.h:22
RemoveNaNDataPointsFilter::filter
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
RemoveNaNDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition:
RemoveNaN.cpp:49
RemoveNaNDataPointsFilter::description
static const std::string description()
Definition:
RemoveNaN.h:45
python::datapointsfilters::pybindRemoveNaN
void pybindRemoveNaN(py::module &p_module)
Definition:
remove_nan.cpp:9
python
Definition:
add_descriptor.cpp:5
RemoveNaNDataPointsFilter
Remove points having NaN as coordinate.
Definition:
RemoveNaN.h:41
RemoveNaN.h
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:10