Go to the documentation of this file.
56 typedef typename Eigen::Matrix<T,2,1>
Vector2;
57 typedef typename Eigen::Matrix<T,3,1>
Vector3;
63 return "Construct Voxel grid of the point cloud. Down-sample by taking centroid or center of grid cells.";
69 {
"vSizeX",
"Dimension of each voxel cell in x direction",
"1.0",
"0.001",
"+inf", &P::Comp<T>},
70 {
"vSizeY",
"Dimension of each voxel cell in y direction",
"1.0",
"0.001",
"+inf", &P::Comp<T>},
71 {
"vSizeZ",
"Dimension of each voxel cell in z direction",
"1.0",
"0.001",
"+inf", &P::Comp<T>},
72 {
"useCentroid",
"If 1 (true), down-sample by using centroid of voxel cell. If false (0), use center of voxel cell.",
"1",
"0",
"1", P::Comp<bool>},
73 {
"averageExistingDescriptors",
"whether the filter keep the existing point descriptors and average them or should it drop them",
"1",
"0",
"1", P::Comp<bool>}
PointMatcherSupport::Parametrizable P
VoxelGridDataPointsFilter()
Parametrizable::Parameters Parameters
PM::Parameters Parameters
PM::DataPointsFilter DataPointsFilter
PointMatcher< T >::Matrix Matrix
virtual ~VoxelGridDataPointsFilter()
PointMatcherSupport::Parametrizable Parametrizable
Functions and classes that are dependant on scalar type are defined in this templatized class.
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
An exception thrown when one tries to access features or descriptors unexisting or of wrong dimension...
PointMatcher< T >::Vector Vector
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
Parametrizable::ParametersDoc ParametersDoc
static const std::string description()
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > Matrix
A dense matrix over ScalarType.
A data filter takes a point cloud as input, transforms it, and produces another point cloud as output...
An exception thrown when one tries to fetch the value of an unexisting parameter.
Eigen::Matrix< T, Eigen::Dynamic, 1 > Vector
A vector over ScalarType.
PointMatcher< T >::DataPoints::InvalidField InvalidField
Parametrizable::ParameterDoc ParameterDoc
Parametrizable::InvalidParameter InvalidParameter
Eigen::Matrix< T, 2, 1 > Vector2
The superclass of classes that are constructed using generic parameters. This class provides the para...
The documentation of a parameter.
const bool averageExistingDescriptors
PM::DataPoints DataPoints
Eigen::Matrix< T, 3, 1 > Vector3
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
static const ParametersDoc availableParameters()
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.