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


libpointmatcher
Author(s):
autogenerated on Mon Jan 1 2024 03:24:43