#include <cluster_handler.h>
Public Types | |
| typedef std::list< ClusterT > ::iterator | ClusterPtr |
| typedef ClusterT | ClusterType |
| typedef std::list< ClusterT > ::reverse_iterator | reverse_iterator |
| typedef std::list< ClusterT > ::size_type | size_type |
Public Member Functions | |
| virtual void | addPoint (ClusterPtr c, int idx)=0 |
| ClusterPtr | begin () |
| virtual void | clear () |
| ClusterHandlerBase () | |
| std::string | colorHumanReadable (int id) |
| ClusterPtr | createCluster (int id=0) |
| ClusterPtr | end () |
| virtual void | erase (ClusterPtr c) |
| ClusterPtr | getCluster (const int id) |
| std::pair< ClusterPtr, ClusterPtr > | getClusters () |
| std::pair< reverse_iterator, reverse_iterator > | getClustersReverse () |
| void | mapClusterColor (pcl::PointCloud< PointXYZRGB >::Ptr color_cloud) |
| void | mapTypeColor (pcl::PointCloud< PointXYZRGB >::Ptr color_cloud) |
| virtual void | merge (ClusterPtr source, ClusterPtr target)=0 |
| size_type | numClusters () const |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| void | sortBySize () |
| virtual | ~ClusterHandlerBase () |
Protected Attributes | |
| std::list< ClusterType > | clusters_ |
| std::vector< int > | color_tab_ |
| std::map< int, ClusterPtr > | id_to_cluster_ |
| int | max_cid_ |
Definition at line 81 of file cluster_handler.h.
| typedef std::list<ClusterT>::iterator cob_3d_segmentation::ClusterHandlerBase< ClusterT >::ClusterPtr |
Definition at line 85 of file cluster_handler.h.
| typedef ClusterT cob_3d_segmentation::ClusterHandlerBase< ClusterT >::ClusterType |
Definition at line 84 of file cluster_handler.h.
| typedef std::list<ClusterT>::reverse_iterator cob_3d_segmentation::ClusterHandlerBase< ClusterT >::reverse_iterator |
Definition at line 86 of file cluster_handler.h.
| typedef std::list<ClusterT>::size_type cob_3d_segmentation::ClusterHandlerBase< ClusterT >::size_type |
Definition at line 87 of file cluster_handler.h.
| cob_3d_segmentation::ClusterHandlerBase< ClusterT >::ClusterHandlerBase | ( | ) | [inline] |
Definition at line 90 of file cluster_handler.h.
| virtual cob_3d_segmentation::ClusterHandlerBase< ClusterT >::~ClusterHandlerBase | ( | ) | [inline, virtual] |
Definition at line 105 of file cluster_handler.h.
| virtual void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::addPoint | ( | ClusterPtr | c, |
| int | idx | ||
| ) | [pure virtual] |
| ClusterPtr cob_3d_segmentation::ClusterHandlerBase< ClusterT >::begin | ( | ) | [inline] |
Definition at line 107 of file cluster_handler.h.
| virtual void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::clear | ( | ) | [inline, virtual] |
Definition at line 118 of file cluster_handler.h.
| std::string cob_3d_segmentation::ClusterHandlerBase< ClusterT >::colorHumanReadable | ( | int | id | ) | [inline] |
Definition at line 134 of file cluster_handler.h.
| ClusterPtr cob_3d_segmentation::ClusterHandlerBase< ClusterT >::createCluster | ( | int | id = 0 | ) | [inline] |
Definition at line 128 of file cluster_handler.h.
| ClusterPtr cob_3d_segmentation::ClusterHandlerBase< ClusterT >::end | ( | ) | [inline] |
Definition at line 108 of file cluster_handler.h.
| virtual void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::erase | ( | ClusterPtr | c | ) | [inline, virtual] |
Definition at line 119 of file cluster_handler.h.
| ClusterPtr cob_3d_segmentation::ClusterHandlerBase< ClusterT >::getCluster | ( | const int | id | ) | [inline] |
Definition at line 121 of file cluster_handler.h.
| std::pair<ClusterPtr,ClusterPtr> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::getClusters | ( | ) | [inline] |
Definition at line 111 of file cluster_handler.h.
| std::pair<reverse_iterator, reverse_iterator> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::getClustersReverse | ( | ) | [inline] |
Definition at line 113 of file cluster_handler.h.
| void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::mapClusterColor | ( | pcl::PointCloud< PointXYZRGB >::Ptr | color_cloud | ) | [inline] |
Definition at line 142 of file cluster_handler.h.
| void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::mapTypeColor | ( | pcl::PointCloud< PointXYZRGB >::Ptr | color_cloud | ) | [inline] |
Definition at line 156 of file cluster_handler.h.
| virtual void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::merge | ( | ClusterPtr | source, |
| ClusterPtr | target | ||
| ) | [pure virtual] |
| size_type cob_3d_segmentation::ClusterHandlerBase< ClusterT >::numClusters | ( | ) | const [inline] |
Definition at line 116 of file cluster_handler.h.
| reverse_iterator cob_3d_segmentation::ClusterHandlerBase< ClusterT >::rbegin | ( | ) | [inline] |
Definition at line 109 of file cluster_handler.h.
| reverse_iterator cob_3d_segmentation::ClusterHandlerBase< ClusterT >::rend | ( | ) | [inline] |
Definition at line 110 of file cluster_handler.h.
| void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::sortBySize | ( | ) | [inline] |
Definition at line 117 of file cluster_handler.h.
std::list<ClusterType> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::clusters_ [protected] |
Definition at line 171 of file cluster_handler.h.
std::vector<int> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::color_tab_ [protected] |
Definition at line 174 of file cluster_handler.h.
std::map<int,ClusterPtr> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::id_to_cluster_ [protected] |
Definition at line 172 of file cluster_handler.h.
int cob_3d_segmentation::ClusterHandlerBase< ClusterT >::max_cid_ [protected] |
Definition at line 173 of file cluster_handler.h.