55 return "Subsampling. Remove points laying in a bounding box which is axis aligned.";
60 {
"xMin",
"minimum value on x-axis defining one side of the bounding box",
"-1",
"-inf",
"inf", &P::Comp<T>},
61 {
"xMax",
"maximum value on x-axis defining one side of the bounding box",
"1",
"-inf",
"inf", &P::Comp<T>},
62 {
"yMin",
"minimum value on y-axis defining one side of the bounding box",
"-1",
"-inf",
"inf", &P::Comp<T>},
63 {
"yMax",
"maximum value on y-axis defining one side of the bounding box",
"1",
"-inf",
"inf", &P::Comp<T>},
64 {
"zMin",
"minimum value on z-axis defining one side of the bounding box",
"-1",
"-inf",
"inf", &P::Comp<T>},
65 {
"zMax",
"maximum value on z-axis defining one side of the bounding box",
"1",
"-inf",
"inf", &P::Comp<T>},
66 {
"removeInside",
"If set to true (1), remove points inside the bounding box; else (0), remove points outside the bounding box",
"1",
"0",
"1", P::Comp<bool>}
80 virtual DataPoints
filter(
const DataPoints& input);
static const ParametersDoc availableParameters()
Parametrizable::ParametersDoc ParametersDoc
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
BoundingBoxDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.
Functions and classes that are dependant on scalar type are defined in this templatized class...
Parametrizable::Parameters Parameters
PointMatcherSupport::Parametrizable P
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
PointMatcher< T >::Vector Vector
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
The documentation of a parameter.
The superclass of classes that are constructed using generic parameters. This class provides the para...
An exception thrown when one tries to fetch the value of an unexisting parameter. ...
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
PointMatcherSupport::Parametrizable Parametrizable
Parametrizable::ParameterDoc ParameterDoc
static const std::string description()
Eigen::Matrix< T, Eigen::Dynamic, 1 > Vector
A vector over ScalarType.
PointMatcher< T >::DataPoints DataPoints
PM::DataPointsFilter DataPointsFilter
Parametrizable::InvalidParameter InvalidParameter
Subsampling. Remove point laying in a bounding box.