add_descriptor.cpp
Go to the documentation of this file.
1 #include "bounding_box.h"
2 
4 
5 namespace python
6 {
7  namespace datapointsfilters
8  {
9  void pybindAddDescriptor(py::module& p_module)
10  {
12  py::class_<AddDescriptorDataPointsFilter, std::shared_ptr<AddDescriptorDataPointsFilter>, DataPointsFilter>(p_module, "AddDescriptorDataPointsFilter")
13  .def_static("description", &AddDescriptorDataPointsFilter::description)
14  .def_static("availableParameters", &AddDescriptorDataPointsFilter::availableParameters)
15 
16  .def_readonly("descriptorName", &AddDescriptorDataPointsFilter::descriptorName)
17  .def_readonly("descriptorDimension", &AddDescriptorDataPointsFilter::descriptorDimension)
18  .def_readonly("descriptorValues", &AddDescriptorDataPointsFilter::descriptorValues)
19 
20  .def(py::init<const Parameters&>(), py::arg("params") = Parameters(), "Constructor, uses parameter interface")
21 
22  .def("filter", &AddDescriptorDataPointsFilter::filter, py::arg("input"))
23  .def("inPlaceFilter", &AddDescriptorDataPointsFilter::inPlaceFilter, py::arg("cloud"));
24  }
25  }
26 }
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition: pypoint_matcher_helper.h:22
Parameters
PM::Parameters Parameters
Definition: filterProfiler.cpp:20
AddDescriptorDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition: AddDescriptor.cpp:29
bounding_box.h
AddDescriptor.h
AddDescriptorDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition: AddDescriptor.h:41
python
Definition: add_descriptor.cpp:5
AddDescriptorDataPointsFilter
Add new descriptor to an existing point cloud.
Definition: AddDescriptor.h:10
python::datapointsfilters::pybindAddDescriptor
void pybindAddDescriptor(py::module &p_module)
Definition: add_descriptor.cpp:9
AddDescriptorDataPointsFilter::descriptorName
const std::string descriptorName
Definition: AddDescriptor.h:28
AddDescriptorDataPointsFilter::description
static const std::string description()
Definition: AddDescriptor.h:32
AddDescriptorDataPointsFilter::descriptorValues
const std::vector< T > descriptorValues
Definition: AddDescriptor.h:30
AddDescriptorDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition: AddDescriptor.cpp:19
AddDescriptorDataPointsFilter::descriptorDimension
const std::size_t descriptorDimension
Definition: AddDescriptor.h:29


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