Go to the documentation of this file.
54 return "Conditional subsampling. This filter reduces the size of the point cloud by randomly dropping points if their number is above maxCount. Based on \\cite{Masuda1996Random}";
59 {
"seed",
"srand seed",
"1",
"0",
"2147483647", &P::Comp<size_t>},
60 {
"maxCount",
"maximum number of points",
"1000",
"0",
"2147483647", &P::Comp<size_t>}
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
PM::DataPointsFilter DataPointsFilter
Parametrizable::ParameterDoc ParameterDoc
Functions and classes that are dependant on scalar type are defined in this templatized class.
Parametrizable::ParametersDoc ParametersDoc
static const std::string description()
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
An exception thrown when one tries to fetch the value of an unexisting parameter.
PointMatcher< T >::DataPoints DataPoints
Parametrizable::Parameters Parameters
Parametrizable::InvalidParameter InvalidParameter
The superclass of classes that are constructed using generic parameters. This class provides the para...
The documentation of a parameter.
MaxPointCountDataPointsFilter(const Parameters ¶ms=Parameters())
Maximum number of points.
PointMatcherSupport::Parametrizable Parametrizable
virtual ~MaxPointCountDataPointsFilter()
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
static const ParametersDoc availableParameters()