41 #include <pcl/pcl_base.h> 42 #include <pcl/search/search.h> 43 #include <pcl/point_cloud.h> 55 template <
typename Po
intT>
142 extract (std::vector<int>& ground);
172 #ifdef PCL_NO_PRECOMPILE 173 #include <pcl/segmentation/impl/approximate_progressive_morphological_filter.hpp> float max_distance_
Maximum height above the parameterized ground surface to be considered a ground return.
float getSlope() const
Get 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 setInitialDistance(float initial_distance)
Set the initial height above the parameterized ground surface to be considered a ground return...
void setNumberOfThreads(unsigned int nr_threads=0)
Initialize the scheduler and set the number of threads to use.
float slope_
Slope value to be used in computing the height threshold.
float getInitialDistance() const
Get the initial height above the parameterized ground surface to be considered a ground return...
void setMaxDistance(float max_distance)
Set the maximum height above the parameterized ground surface to be considered a ground return...
float getBase() const
Get the base to be used in computing progressive window sizes.
float cell_size_
Cell size.
int max_window_size_
Maximum window size to be used in filtering ground returns.
Defines all the PCL implemented PointT point type structures.
float initial_distance_
Initial height above the parameterized ground surface to be considered a ground return.
int getMaxWindowSize() const
Get the maximum window size to be used in filtering ground returns.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
unsigned int threads_
Number of threads to be used.
void setSlope(float slope)
Set the slope value to be used in computing the height threshold.
void setMaxWindowSize(int max_window_size)
Set the maximum window size to be used in filtering ground returns.
void setBase(float base)
Set the base to be used in computing progressive window sizes.
float base_
Base to be used in computing progressive window sizes.
bool exponential_
Exponentially grow window sizes?
bool getExponential() const
Get flag indicating whether or not to exponentially grow window sizes?
void setExponential(bool exponential)
Set flag indicating whether or not to exponentially grow window sizes?
float getCellSize() const
Get the cell size.
Implements the Progressive Morphological Filter for segmentation of ground points.
void setCellSize(float cell_size)
Set the cell size.