#include <cluster_graph_structure.h>
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, VertexID > | vid_ |
Definition at line 77 of file cluster_graph_structure.h.
| typedef ClusterHandlerT::Ptr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterHandlerPtr |
Definition at line 80 of file cluster_graph_structure.h.
| typedef ClusterHandlerT::ClusterPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterPtr |
Definition at line 82 of file cluster_graph_structure.h.
| typedef ClusterHandlerT::ClusterType cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterType |
Definition at line 81 of file cluster_graph_structure.h.
| typedef EdgeHandlerT::Ptr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::EdgeHandlerPtr |
Definition at line 83 of file cluster_graph_structure.h.
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.
| typedef EdgeHandlerT::EdgePtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::EdgePtr |
Definition at line 85 of file cluster_graph_structure.h.
| typedef EdgeHandlerT::EdgeType cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::EdgeType |
Definition at line 84 of file cluster_graph_structure.h.
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.
| typedef boost::shared_ptr<ClusterGraphStructure<ClusterHandlerT, EdgeHandlerT> > cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::Ptr |
Definition at line 87 of file cluster_graph_structure.h.
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.
| cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterGraphStructure | ( | ) | [inline] |
Definition at line 90 of file cluster_graph_structure.h.
| cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::ClusterGraphStructure | ( | ClusterHandlerPtr | c_hdl, |
| EdgeHandlerPtr | e_hdl | ||
| ) | [inline] |
Definition at line 97 of file cluster_graph_structure.h.
| cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::~ClusterGraphStructure | ( | ) | [inline] |
Definition at line 104 of file cluster_graph_structure.h.
| 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.
| void cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::clear | ( | ) | [inline] |
Definition at line 110 of file cluster_graph_structure.h.
| ClusterHandlerPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::clusters | ( | ) | [inline] |
Definition at line 107 of file cluster_graph_structure.h.
| 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.
| EdgeHandlerPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::edges | ( | ) | [inline] |
Definition at line 108 of file cluster_graph_structure.h.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
ClusterHandlerPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::c_hdl_ [private] |
Definition at line 158 of file cluster_graph_structure.h.
EdgeHandlerPtr cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::e_hdl_ [private] |
Definition at line 159 of file cluster_graph_structure.h.
GraphT cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::g_ [private] |
Definition at line 160 of file cluster_graph_structure.h.
std::map<int, VertexID> cob_3d_segmentation::ClusterGraphStructure< ClusterHandlerT, EdgeHandlerT >::vid_ [private] |
Definition at line 161 of file cluster_graph_structure.h.