28 #ifndef _PCL_REGION_GROWING_H_
29 #define _PCL_REGION_GROWING_H_
42 #include <pcl/common/common.h>
43 #include <pcl/point_cloud.h>
44 #include <pcl/point_types.h>
45 #include <pcl/octree/octree.h>
46 #include <pcl/kdtree/kdtree_flann.h>
47 #include <pcl/filters/extract_indices.h>
48 #include <pcl/octree/octree.h>
74 template<
class T,
class T1>
84 flags.cloud_in_set=
false;
85 flags.seeds_in_set=
false;
86 flags.run_finished=
false;
87 flags.ok_to_run=
false;
108 void set_input_cloud(
typename PointCloud<T>::Ptr cloud_in);
111 void set_input_seeds(
typename PointCloud<T1>::Ptr seeds_in);
117 vector<int> get_region_indices(
void);
120 PointIndices get_region_point_indices(
void);
154 void process_flags();
157 void extract_region_indices();
int min_neighbors
Number of neighbors to consider the point.
PointIndices region_point_indices
Point indices from a region.
TYPE_flags flags
Flags set.
std::vector< int > search_list
search indices list
PointCloud< T1 >::Ptr seeds
Input seeds for starting points.
some flags to check status
PointCloud< T > region
Output region cloud data.
float radius
The radius for search.
PointCloud< T >::Ptr cloud
Input cloud data for searching.
std::vector< int > region_indices
indices from a region
region growing based algorithm.
File of function implementation of c++ class.