44 #include <pcl/filters/filter.h>
45 #include <pcl/filters/filter_indices.h>
60 template <
typename Po
intT>
128 #ifdef PCL_NO_PRECOMPILE
129 #include <pcl/filters/impl/grid_minimum.hpp>
float inverse_resolution_
Internal resolution stored as 1/resolution_ for efficiency reasons.
void applyFilter(PointCloud &output) override
Downsample a Point Cloud using a 2D grid approach.
void setResolution(const float resolution)
Set the grid resolution.
float resolution_
The resolution.
float getResolution()
Get the grid resolution.
GridMinimum assembles a local 2D grid over a given PointCloud, and downsamples the data...
void applyFilter(Indices &indices) override
Filtered results are indexed by an indices array.
FilterIndices represents the base class for filters that are about binary point removal.
Filter represents the base filter class.
IndicesAllocator<> Indices
Type used for indices in PCL.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
std::string filter_name_
The filter name.
GridMinimum(const float resolution)
Empty constructor.
void applyFilterIndices(Indices &indices)
Filtered results are indexed by an indices array.
~GridMinimum() override=default
Destructor.