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