40 #ifndef PCL_REGION_GROWING_H_
41 #define PCL_REGION_GROWING_H_
43 #include <pcl/pcl_base.h>
44 #include <pcl/search/search.h>
45 #include <pcl/point_cloud.h>
46 #include <pcl/point_types.h>
60 template <
typename Po
intT,
typename NormalT>
93 setMinClusterSize (
int min_cluster_size);
101 setMaxClusterSize (
int max_cluster_size);
110 getSmoothModeFlag ()
const;
116 setSmoothModeFlag (
bool value);
120 getCurvatureTestFlag ()
const;
128 setCurvatureTestFlag (
bool value);
132 getResidualTestFlag ()
const;
141 setResidualTestFlag (
bool value);
145 getSmoothnessThreshold ()
const;
151 setSmoothnessThreshold (
float theta);
155 getResidualThreshold ()
const;
161 setResidualThreshold (
float residual);
165 getCurvatureThreshold ()
const;
171 setCurvatureThreshold (
float curvature);
175 getNumberOfNeighbours ()
const;
181 setNumberOfNeighbours (
unsigned int neighbour_number);
185 getSearchMethod ()
const;
195 getInputNormals ()
const;
209 extract (std::vector <pcl::PointIndices>& clusters);
234 getColoredCloudRGBA ();
242 prepareForSegmentation ();
248 findPointNeighbours ();
255 applySmoothRegionGrowingAlgorithm ();
262 growRegion (
int initial_seed,
int segment_number);
272 validatePoint (
int initial_seed,
int point,
int nghbr,
bool& is_a_seed)
const;
337 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
344 return (i.first < j.first);
348 #ifdef PCL_NO_PRECOMPILE
349 #include <pcl/segmentation/impl/region_growing.hpp>