57 return "Subsampling. Cut points with value of a given descriptor above or below a given threshold.";
62 {
"descName",
"Descriptor name used to cut points",
"none"},
63 {
"useLargerThan",
"If set to 1 (true), points with values above the 'threshold' will be cut. If set to 0 (false), points with values below the 'threshold' will be cut.",
"1",
"0",
"1", P::Comp<bool>},
64 {
"threshold",
"Value at which to cut.",
"0",
"-inf",
"inf", &P::Comp<T>}
74 virtual DataPoints
filter(
const DataPoints& input);
PointMatcherSupport::Parametrizable Parametrizable
Parametrizable::Parameters Parameters
static const std::string description()
PointMatcher< T >::DataPoints::InvalidField InvalidField
Subsampling. Cut points with value of a given descriptor above or below a given threshold.
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 ParametersDoc availableParameters()
Parametrizable::ParameterDoc ParameterDoc
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
PointMatcherSupport::Parametrizable P
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
Parametrizable::InvalidParameter InvalidParameter
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. ...
CutAtDescriptorThresholdDataPointsFilter(const Parameters ¶ms=Parameters())
Constructor, uses parameter interface.
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
An exception thrown when one tries to access features or descriptors unexisting or of wrong dimension...
const std::string descName
PM::DataPointsFilter DataPointsFilter
Parametrizable::ParametersDoc ParametersDoc