python
datapointsfilters
bounding_box.cpp
Go to the documentation of this file.
1
#include "
bounding_box.h
"
2
3
#include "
DataPointsFilters/BoundingBox.h
"
4
5
namespace
python
6
{
7
namespace
datapointsfilters
8
{
9
void
pybindBoundingBox
(py::module& p_module)
10
{
11
using
BoundingBoxDataPointsFilter
=
BoundingBoxDataPointsFilter<ScalarType>
;
12
py::class_<BoundingBoxDataPointsFilter, std::shared_ptr<BoundingBoxDataPointsFilter>,
DataPointsFilter
>(p_module,
"BoundingBoxDataPointsFilter"
)
13
.def_static(
"description"
, &
BoundingBoxDataPointsFilter::description
)
14
.def_static(
"availableParameters"
, &
BoundingBoxDataPointsFilter::availableParameters
)
15
16
.def_readonly(
"xMin"
, &
BoundingBoxDataPointsFilter::xMin
)
17
.def_readonly(
"xMax"
, &
BoundingBoxDataPointsFilter::xMax
)
18
.def_readonly(
"yMin"
, &
BoundingBoxDataPointsFilter::yMin
)
19
.def_readonly(
"yMax"
, &
BoundingBoxDataPointsFilter::yMax
)
20
.def_readonly(
"zMin"
, &
BoundingBoxDataPointsFilter::zMin
)
21
.def_readonly(
"zMax"
, &
BoundingBoxDataPointsFilter::zMax
)
22
.def_readonly(
"removeInside"
, &
BoundingBoxDataPointsFilter::removeInside
)
23
24
.def(py::init<const Parameters&>(), py::arg(
"params"
) =
Parameters
(),
"Constructor, uses parameter interface"
)
25
26
.def(
"filter"
, &
BoundingBoxDataPointsFilter::filter
, py::arg(
"input"
))
27
.def(
"inPlaceFilter"
, &
BoundingBoxDataPointsFilter::inPlaceFilter
, py::arg(
"cloud"
));
28
}
29
}
30
}
DataPointsFilter
PM::DataPointsFilter DataPointsFilter
Definition:
pypoint_matcher_helper.h:22
BoundingBoxDataPointsFilter
Subsampling. Remove point laying in a bounding box.
Definition:
BoundingBox.h:41
BoundingBoxDataPointsFilter::yMin
const T yMin
Definition:
BoundingBox.h:72
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
BoundingBoxDataPointsFilter::removeInside
const bool removeInside
Definition:
BoundingBox.h:76
BoundingBoxDataPointsFilter::description
static const std::string description()
Definition:
BoundingBox.h:53
BoundingBoxDataPointsFilter::yMax
const T yMax
Definition:
BoundingBox.h:73
BoundingBoxDataPointsFilter::zMax
const T zMax
Definition:
BoundingBox.h:75
BoundingBoxDataPointsFilter::availableParameters
static const ParametersDoc availableParameters()
Definition:
BoundingBox.h:57
bounding_box.h
BoundingBoxDataPointsFilter::filter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Definition:
BoundingBox.cpp:55
python
Definition:
add_descriptor.cpp:5
BoundingBoxDataPointsFilter::zMin
const T zMin
Definition:
BoundingBox.h:74
BoundingBoxDataPointsFilter::xMax
const T xMax
Definition:
BoundingBox.h:71
BoundingBoxDataPointsFilter::inPlaceFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Definition:
BoundingBox.cpp:65
BoundingBoxDataPointsFilter::xMin
const T xMin
Definition:
BoundingBox.h:70
python::datapointsfilters::pybindBoundingBox
void pybindBoundingBox(py::module &p_module)
Definition:
bounding_box.cpp:9
BoundingBox.h
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:07