42 #ifndef PCL_FILTERS_VOXEL_GRID_MINIMUM_H_ 43 #define PCL_FILTERS_VOXEL_GRID_MINIMUM_H_ 45 #include <pcl/filters/boost.h> 46 #include <pcl/filters/filter.h> 47 #include <pcl/filters/filter_indices.h> 62 template <
typename Po
intT>
132 #ifdef PCL_NO_PRECOMPILE 133 #include <pcl/filters/impl/grid_minimum.hpp> 136 #endif //#ifndef PCL_FILTERS_VOXEL_GRID_MINIMUM_H_ float inverse_resolution_
Internal resolution stored as 1/resolution_ for efficiency reasons.
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.
void applyFilter(std::vector< int > &indices)
Filtered results are indexed by an indices array.
Filter represents the base filter class.
virtual ~GridMinimum()
Destructor.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
FilterIndices< PointT >::PointCloud PointCloud
std::string filter_name_
The filter name.
GridMinimum(const float resolution)
Empty constructor.
void applyFilter(PointCloud &output)
Downsample a Point Cloud using a 2D grid approach.