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