54 return "Subsampling. Filter points before a minimum distance measured on a specific axis. If dim is set to -1, points are filtered based on a minimum radius.";
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 {
"minDist",
"minimum value authorized. If dim is set to -1 (radius), the absolute value of minDist will be used. All points before that will be filtered.",
"1",
"-inf",
"inf", &P::Comp<T>}
69 virtual DataPoints
filter(
const DataPoints& input);
Parametrizable::InvalidParameter InvalidParameter
Parametrizable::Parameters Parameters
static const ParametersDoc availableParameters()
Parametrizable::ParameterDoc ParameterDoc
PointMatcherSupport::Parametrizable P
PointMatcher< T >::DataPoints DataPoints
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
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.
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
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::ParametersDoc ParametersDoc
PointMatcherSupport::Parametrizable Parametrizable
Subsampling. Filter points before a minimum distance measured on a specific axis. ...
PM::DataPointsFilter DataPointsFilter
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
MinDistDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.