41 #include <pcl/pcl_base.h>
42 #include <pcl/point_cloud.h>
54 template <
typename Po
intT>
140 int max_window_size_{33};
146 float max_distance_{10.0f};
149 float initial_distance_{0.15f};
152 float cell_size_{1.0f};
158 bool exponential_{
true};
162 #ifdef PCL_NO_PRECOMPILE
163 #include <pcl/segmentation/impl/progressive_morphological_filter.hpp>
PointCloud represents the base class in PCL for storing collections of 3D points.
Implements the Progressive Morphological Filter for segmentation of ground points.
void setExponential(bool exponential)
Set flag indicating whether or not to exponentially grow window sizes?
bool getExponential() const
Get flag indicating whether or not to exponentially grow window sizes?
void setMaxWindowSize(int max_window_size)
Set the maximum window size to be used in filtering ground returns.
void setSlope(float slope)
Set the slope value to be used in computing the height threshold.
float getMaxDistance() const
Get the maximum height above the parameterized ground surface to be considered a ground return.
void setCellSize(float cell_size)
Set the cell size.
float getBase() const
Get the base to be used in computing progressive window sizes.
ProgressiveMorphologicalFilter()
Constructor that sets default values for member variables.
float getSlope() const
Get the slope value to be used in computing the height threshold.
~ProgressiveMorphologicalFilter() override
void setBase(float base)
Set the base to be used in computing progressive window sizes.
float getCellSize() const
Get the cell size.
int getMaxWindowSize() const
Get the maximum window size to be used in filtering ground returns.
void setMaxDistance(float max_distance)
Set the maximum height above the parameterized ground surface to be considered a ground return.
float getInitialDistance() const
Get the initial height above the parameterized ground surface to be considered a ground return.
void setInitialDistance(float initial_distance)
Set the initial height above the parameterized ground surface to be considered a ground return.
Defines all the PCL implemented PointT point type structures.
IndicesAllocator<> Indices
Type used for indices in PCL.