54 return "Subsampling. Filter points beyond a maximum distance measured on a specific axis. If dim is set to -1, points are filtered based on a maximum 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 {
"maxDist",
"maximum distance authorized. If dim is set to -1 (radius), the absolute value of minDist will be used. All points beyond that will be filtered.",
"1",
"-inf",
"inf", &P::Comp<T>}
69 virtual DataPoints
filter(
const DataPoints& input);
Subsampling. Filter points beyond a maximum distance measured on a specific axis. ...
MaxDistDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.
static const ParametersDoc availableParameters()
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
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
Functions and classes that are dependant on scalar type are defined in this templatized class...
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
PointMatcherSupport::Parametrizable Parametrizable
PointMatcherSupport::Parametrizable P
PointMatcher< T >::DataPoints DataPoints
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::Parameters Parameters
Parametrizable::ParametersDoc ParametersDoc
Parametrizable::InvalidParameter InvalidParameter
static const std::string description()
PM::DataPointsFilter DataPointsFilter