#include <cluster_conversion.h>
Public Types | |
typedef ClusterHdlT::Ptr | ClusterHdlPtr |
typedef ClusterHdlT::ClusterPtr | ClusterPtr |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
Public Member Functions | |
ClusterConversion () | |
bool | clusterToPolygon (const ClusterPtr &c, cob_3d_mapping::Polygon::Ptr &pg) |
void | convertToPolygons (std::vector< cob_3d_mapping::Polygon::Ptr > polygons) |
void | setClusterHandler (const ClusterHdlPtr &ch) |
void | setColor (bool enable) |
void | setInputCloud (const PointCloudConstPtr &p) |
void | setMaxCentroidDistance (float z_distance) |
void | setMinClusterSize (int size) |
virtual | ~ClusterConversion () |
Protected Attributes | |
ClusterHdlPtr | ch_ |
bool | colorize_ |
float | max_dist_ |
int | min_size_ |
PointCloudConstPtr | p_ |
PolygonExtraction | pe_ |
Definition at line 79 of file cluster_conversion.h.
typedef ClusterHdlT::Ptr cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::ClusterHdlPtr |
Definition at line 84 of file cluster_conversion.h.
typedef ClusterHdlT::ClusterPtr cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::ClusterPtr |
Definition at line 85 of file cluster_conversion.h.
typedef pcl::PointCloud<PointT> cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::PointCloud |
Definition at line 82 of file cluster_conversion.h.
typedef PointCloud::ConstPtr cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::PointCloudConstPtr |
Definition at line 83 of file cluster_conversion.h.
cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::ClusterConversion | ( | ) | [inline] |
Definition at line 88 of file cluster_conversion.h.
virtual cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::~ClusterConversion | ( | ) | [inline, virtual] |
Definition at line 94 of file cluster_conversion.h.
bool cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::clusterToPolygon | ( | const ClusterPtr & | c, |
cob_3d_mapping::Polygon::Ptr & | pg | ||
) | [inline] |
Definition at line 102 of file cluster_conversion.h.
void cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::convertToPolygons | ( | std::vector< cob_3d_mapping::Polygon::Ptr > | polygons | ) | [inline] |
Definition at line 174 of file cluster_conversion.h.
void cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::setClusterHandler | ( | const ClusterHdlPtr & | ch | ) | [inline] |
Definition at line 96 of file cluster_conversion.h.
void cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::setColor | ( | bool | enable | ) | [inline] |
Definition at line 100 of file cluster_conversion.h.
void cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::setInputCloud | ( | const PointCloudConstPtr & | p | ) | [inline] |
Definition at line 97 of file cluster_conversion.h.
void cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::setMaxCentroidDistance | ( | float | z_distance | ) | [inline] |
Definition at line 99 of file cluster_conversion.h.
void cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::setMinClusterSize | ( | int | size | ) | [inline] |
Definition at line 98 of file cluster_conversion.h.
ClusterHdlPtr cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::ch_ [protected] |
Definition at line 198 of file cluster_conversion.h.
bool cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::colorize_ [protected] |
Definition at line 195 of file cluster_conversion.h.
float cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::max_dist_ [protected] |
Definition at line 194 of file cluster_conversion.h.
int cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::min_size_ [protected] |
Definition at line 193 of file cluster_conversion.h.
PointCloudConstPtr cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::p_ [protected] |
Definition at line 199 of file cluster_conversion.h.
PolygonExtraction cob_3d_segmentation::ClusterConversion< PointT, ClusterHdlT >::pe_ [protected] |
Definition at line 197 of file cluster_conversion.h.