Public Types | Public Member Functions | Protected Attributes
cob_3d_segmentation::ClusterHandlerBase< ClusterT > Class Template Reference

#include <cluster_handler.h>

List of all members.

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, ClusterPtrgetClusters ()
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< ClusterTypeclusters_
std::vector< int > color_tab_
std::map< int, ClusterPtrid_to_cluster_
int max_cid_

Detailed Description

template<typename ClusterT>
class cob_3d_segmentation::ClusterHandlerBase< ClusterT >

Definition at line 81 of file cluster_handler.h.


Member Typedef Documentation

template<typename ClusterT>
typedef std::list<ClusterT>::iterator cob_3d_segmentation::ClusterHandlerBase< ClusterT >::ClusterPtr

Definition at line 85 of file cluster_handler.h.

template<typename ClusterT>
typedef ClusterT cob_3d_segmentation::ClusterHandlerBase< ClusterT >::ClusterType

Definition at line 84 of file cluster_handler.h.

template<typename ClusterT>
typedef std::list<ClusterT>::reverse_iterator cob_3d_segmentation::ClusterHandlerBase< ClusterT >::reverse_iterator

Definition at line 86 of file cluster_handler.h.

template<typename ClusterT>
typedef std::list<ClusterT>::size_type cob_3d_segmentation::ClusterHandlerBase< ClusterT >::size_type

Definition at line 87 of file cluster_handler.h.


Constructor & Destructor Documentation

template<typename ClusterT>
cob_3d_segmentation::ClusterHandlerBase< ClusterT >::ClusterHandlerBase ( ) [inline]

Definition at line 90 of file cluster_handler.h.

template<typename ClusterT>
virtual cob_3d_segmentation::ClusterHandlerBase< ClusterT >::~ClusterHandlerBase ( ) [inline, virtual]

Definition at line 105 of file cluster_handler.h.


Member Function Documentation

template<typename ClusterT>
virtual void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::addPoint ( ClusterPtr  c,
int  idx 
) [pure virtual]
template<typename ClusterT>
ClusterPtr cob_3d_segmentation::ClusterHandlerBase< ClusterT >::begin ( ) [inline]

Definition at line 107 of file cluster_handler.h.

template<typename ClusterT>
virtual void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::clear ( ) [inline, virtual]

Definition at line 118 of file cluster_handler.h.

template<typename ClusterT>
std::string cob_3d_segmentation::ClusterHandlerBase< ClusterT >::colorHumanReadable ( int  id) [inline]

Definition at line 134 of file cluster_handler.h.

template<typename ClusterT>
ClusterPtr cob_3d_segmentation::ClusterHandlerBase< ClusterT >::createCluster ( int  id = 0) [inline]

Definition at line 128 of file cluster_handler.h.

template<typename ClusterT>
ClusterPtr cob_3d_segmentation::ClusterHandlerBase< ClusterT >::end ( ) [inline]

Definition at line 108 of file cluster_handler.h.

template<typename ClusterT>
virtual void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::erase ( ClusterPtr  c) [inline, virtual]

Definition at line 119 of file cluster_handler.h.

template<typename ClusterT>
ClusterPtr cob_3d_segmentation::ClusterHandlerBase< ClusterT >::getCluster ( const int  id) [inline]

Definition at line 121 of file cluster_handler.h.

template<typename ClusterT>
std::pair<ClusterPtr,ClusterPtr> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::getClusters ( ) [inline]

Definition at line 111 of file cluster_handler.h.

template<typename ClusterT>
std::pair<reverse_iterator, reverse_iterator> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::getClustersReverse ( ) [inline]

Definition at line 113 of file cluster_handler.h.

template<typename ClusterT>
void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::mapClusterColor ( pcl::PointCloud< PointXYZRGB >::Ptr  color_cloud) [inline]

Definition at line 142 of file cluster_handler.h.

template<typename ClusterT>
void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::mapTypeColor ( pcl::PointCloud< PointXYZRGB >::Ptr  color_cloud) [inline]

Definition at line 156 of file cluster_handler.h.

template<typename ClusterT>
virtual void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::merge ( ClusterPtr  source,
ClusterPtr  target 
) [pure virtual]
template<typename ClusterT>
size_type cob_3d_segmentation::ClusterHandlerBase< ClusterT >::numClusters ( ) const [inline]

Definition at line 116 of file cluster_handler.h.

template<typename ClusterT>
reverse_iterator cob_3d_segmentation::ClusterHandlerBase< ClusterT >::rbegin ( ) [inline]

Definition at line 109 of file cluster_handler.h.

template<typename ClusterT>
reverse_iterator cob_3d_segmentation::ClusterHandlerBase< ClusterT >::rend ( ) [inline]

Definition at line 110 of file cluster_handler.h.

template<typename ClusterT>
void cob_3d_segmentation::ClusterHandlerBase< ClusterT >::sortBySize ( ) [inline]

Definition at line 117 of file cluster_handler.h.


Member Data Documentation

template<typename ClusterT>
std::list<ClusterType> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::clusters_ [protected]

Definition at line 171 of file cluster_handler.h.

template<typename ClusterT>
std::vector<int> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::color_tab_ [protected]

Definition at line 174 of file cluster_handler.h.

template<typename ClusterT>
std::map<int,ClusterPtr> cob_3d_segmentation::ClusterHandlerBase< ClusterT >::id_to_cluster_ [protected]

Definition at line 172 of file cluster_handler.h.

template<typename ClusterT>
int cob_3d_segmentation::ClusterHandlerBase< ClusterT >::max_cid_ [protected]

Definition at line 173 of file cluster_handler.h.


The documentation for this class was generated from the following file:


cob_3d_segmentation
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:03