44 #include <pcl/filters/boost.h> 45 #include <pcl/filters/filter.h> 46 #include <pcl/filters/filter_indices.h> 61 template <
typename Po
intT>
131 #ifdef PCL_NO_PRECOMPILE 132 #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 applyFilterIndices(std::vector< int > &indices)
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.
void applyFilter(std::vector< int > &indices) override
Filtered results are indexed by an indices array.
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.
~GridMinimum()
Destructor.