54 return "Subsampling. Filter points based on distance measured on a specific axis. If dim is set to -1, points are filtered based on radial distance.";
59 {
"dim",
"dimension on which the filter will be applied. x=0, y=1, z=2, radius=-1",
"-1",
"-1",
"2", &P::Comp<int>},
60 {
"dist",
"distance limit of the filter. If dim is set to -1 (radius), the absolute value of dist will be used",
"1",
"-inf",
"inf", &P::Comp<T>},
61 {
"removeInside",
"If set to true (1), remove points before the distance limit; else (0), remove points beyond the distance limit",
"1",
"0",
"1", P::Comp<bool>}
71 virtual DataPoints
filter(
const DataPoints& input);
Subsampling. Filter points based on distance measured on a specific axis.
Parametrizable::Parameters Parameters
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
Parametrizable::ParameterDoc ParameterDoc
PointMatcherSupport::Parametrizable P
Parametrizable::ParametersDoc ParametersDoc
DistanceLimitDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.
static const ParametersDoc availableParameters()
PointMatcher< T >::DataPoints DataPoints
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
PointMatcherSupport::Parametrizable Parametrizable
Functions and classes that are dependant on scalar type are defined in this templatized class...
static const std::string description()
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.
Parametrizable::InvalidParameter InvalidParameter
PM::DataPointsFilter DataPointsFilter
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.