Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT > Class Template Reference

#include <cluster_graph_structure.h>

List of all members.

Classes

struct  GraphEdge
struct  GraphVertex

Public Types

typedef ClusterHandlerT::Ptr ClusterHandlerPtr
typedef ClusterHandlerT::ClusterPtr ClusterPtr
typedef
ClusterHandlerT::ClusterType 
ClusterType
typedef EdgeHandlerT::Ptr EdgeHandlerPtr
typedef EdgeHandlerT::EdgePtr EdgePtr
typedef EdgeHandlerT::EdgeType EdgeType
typedef boost::shared_ptr
< ClusterGraphStructure
< ClusterHandlerT,
EdgeHandlerT > > 
Ptr

Public Member Functions

bool areConnected (const int cid1, const int cid2)
void clear ()
 ClusterGraphStructure ()
 ClusterGraphStructure (ClusterHandlerPtr c_hdl, EdgeHandlerPtr e_hdl)
ClusterHandlerPtr clusters ()
EdgePtr connect (const int cid1, const int cid2)
EdgeHandlerPtr edges ()
void getAdjacentClusters (int cid, std::vector< ClusterPtr > &adjacent_clusters)
void getConnectedClusters (int cid_start, std::vector< ClusterPtr > &connected_clusters, boost::function< bool(EdgePtr)> f)
EdgePtr getConnection (const int cid1, const int cid2)
void merge (const int cid_source, const int cid_target)
void merge (const int cid_source, const int cid_target, std::vector< EdgePtr > &updated_edges)
 ~ClusterGraphStructure ()

Private Types

typedef boost::graph_traits
< GraphT >::edge_descriptor 
EdgeID
typedef boost::adjacency_list
< boost::setS, boost::listS,
boost::undirectedS,
GraphVertex, GraphEdge
GraphT
typedef boost::graph_traits
< GraphT >::vertex_descriptor 
VertexID

Private Member Functions

void merge (const VertexID src, const VertexID trg, std::vector< EdgePtr > &updated_edges)

Private Attributes

ClusterHandlerPtr c_hdl_
EdgeHandlerPtr e_hdl_
GraphT g_
std::map< int, VertexIDvid_

Detailed Description

template<typename ClusterHandlerT, typename EdgeHandlerT>
class cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >

Definition at line 77 of file cluster_graph_structure.h.


Member Typedef Documentation

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef ClusterHandlerT::Ptr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterHandlerPtr

Definition at line 80 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef ClusterHandlerT::ClusterPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterPtr

Definition at line 82 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef ClusterHandlerT::ClusterType cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterType

Definition at line 81 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef EdgeHandlerT::Ptr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::EdgeHandlerPtr

Definition at line 83 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef boost::graph_traits<GraphT>::edge_descriptor cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::EdgeID [private]

Definition at line 154 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef EdgeHandlerT::EdgePtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::EdgePtr

Definition at line 85 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef EdgeHandlerT::EdgeType cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::EdgeType

Definition at line 84 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef boost::adjacency_list<boost::setS, boost::listS, boost::undirectedS, GraphVertex, GraphEdge> cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::GraphT [private]

Definition at line 152 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef boost::shared_ptr<ClusterGraphStructure<ClusterHandlerT, EdgeHandlerT> > cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::Ptr

Definition at line 87 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
typedef boost::graph_traits<GraphT>::vertex_descriptor cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::VertexID [private]

Definition at line 153 of file cluster_graph_structure.h.


Constructor & Destructor Documentation

template<typename ClusterHandlerT, typename EdgeHandlerT>
cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterGraphStructure ( ) [inline]

Definition at line 90 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterGraphStructure ( ClusterHandlerPtr  c_hdl,
EdgeHandlerPtr  e_hdl 
) [inline]

Definition at line 97 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::~ClusterGraphStructure ( ) [inline]

Definition at line 104 of file cluster_graph_structure.h.


Member Function Documentation

template<typename ClusterHandlerT, typename EdgeHandlerT>
bool cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::areConnected ( const int  cid1,
const int  cid2 
) [inline]

Definition at line 122 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
void cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::clear ( ) [inline]

Definition at line 110 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
ClusterHandlerPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::clusters ( ) [inline]

Definition at line 107 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
EdgePtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::connect ( const int  cid1,
const int  cid2 
) [inline]

Definition at line 112 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
EdgeHandlerPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::edges ( ) [inline]

Definition at line 108 of file cluster_graph_structure.h.

template<typename ClusterHandlerT , typename EdgeHandlerT >
void cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::getAdjacentClusters ( int  cid,
std::vector< ClusterPtr > &  adjacent_clusters 
)

Definition at line 121 of file cluster_graph_structure.hpp.

template<typename ClusterHandlerT , typename EdgeHandlerT >
void cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::getConnectedClusters ( int  cid_start,
std::vector< ClusterPtr > &  connected_clusters,
boost::function< bool(EdgePtr)>  f 
)

Definition at line 133 of file cluster_graph_structure.hpp.

template<typename ClusterHandlerT, typename EdgeHandlerT>
EdgePtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::getConnection ( const int  cid1,
const int  cid2 
) [inline]

Definition at line 125 of file cluster_graph_structure.h.

template<typename ClusterHandlerT , typename EdgeHandlerT >
void cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::merge ( const int  cid_source,
const int  cid_target 
)

Definition at line 72 of file cluster_graph_structure.hpp.

template<typename ClusterHandlerT , typename EdgeHandlerT >
void cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::merge ( const int  cid_source,
const int  cid_target,
std::vector< EdgePtr > &  updated_edges 
)

Definition at line 79 of file cluster_graph_structure.hpp.

template<typename ClusterHandlerT , typename EdgeHandlerT >
void cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::merge ( const VertexID  src,
const VertexID  trg,
std::vector< EdgePtr > &  updated_edges 
) [private]

Definition at line 88 of file cluster_graph_structure.hpp.


Member Data Documentation

template<typename ClusterHandlerT, typename EdgeHandlerT>
ClusterHandlerPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::c_hdl_ [private]

Definition at line 158 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
EdgeHandlerPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::e_hdl_ [private]

Definition at line 159 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
GraphT cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::g_ [private]

Definition at line 160 of file cluster_graph_structure.h.

template<typename ClusterHandlerT, typename EdgeHandlerT>
std::map<int, VertexID> cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::vid_ [private]

Definition at line 161 of file cluster_graph_structure.h.


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


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