Go to the documentation of this file.
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>}
Parametrizable::ParametersDoc ParametersDoc
static const std::string description()
PM::DataPointsFilter DataPointsFilter
Functions and classes that are dependant on scalar type are defined in this templatized class.
Subsampling. Filter points beyond a maximum distance measured on a specific axis.
static const ParametersDoc availableParameters()
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
PointMatcherSupport::Parametrizable P
Parametrizable::ParameterDoc ParameterDoc
An exception thrown when one tries to fetch the value of an unexisting parameter.
PointMatcher< T >::DataPoints DataPoints
The superclass of classes that are constructed using generic parameters. This class provides the para...
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
Parametrizable::InvalidParameter InvalidParameter
The documentation of a parameter.
PointMatcherSupport::Parametrizable Parametrizable
Parametrizable::Parameters Parameters
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
MaxDistDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.