graph_analysis
Public Member Functions | Protected Member Functions | Friends | List of all members
graph_analysis::gui::GraphLayoutManager Class Reference

#include <GraphLayoutManager.hpp>

Inheritance diagram for graph_analysis::gui::GraphLayoutManager:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::gui::GraphLayoutManager:
Collaboration graph
[legend]

Public Member Functions

 ~GraphLayoutManager ()
 
void registerLayout (const GraphLayout::Ptr &ptr)
 
GraphWidget::VertexItemCoordinateCache getCoordinates (const graph_analysis::BaseGraph::Ptr &graph, const std::string &layoutName, GraphWidget::VertexItemMap &vertexItemMap, QGraphicsScene *scene=NULL) const
 
std::set< std::string > getSupportedLayouts () const
 
GraphLayout::Ptr getGraphLayout (const std::string &layoutName) const
 

Protected Member Functions

 GraphLayoutManager ()
 

Friends

class base::Singleton< GraphLayoutManager >
 

Constructor & Destructor Documentation

◆ GraphLayoutManager()

graph_analysis::gui::GraphLayoutManager::GraphLayoutManager ( )
protected

◆ ~GraphLayoutManager()

graph_analysis::gui::GraphLayoutManager::~GraphLayoutManager ( )

Member Function Documentation

◆ getCoordinates()

GraphWidget::VertexItemCoordinateCache graph_analysis::gui::GraphLayoutManager::getCoordinates ( const graph_analysis::BaseGraph::Ptr &  graph,
const std::string &  layoutName,
GraphWidget::VertexItemMap &  vertexItemMap,
QGraphicsScene *  scene = NULL 
) const

◆ getGraphLayout()

GraphLayout::Ptr graph_analysis::gui::GraphLayoutManager::getGraphLayout ( const std::string &  layoutName) const

◆ getSupportedLayouts()

std::set< std::string > graph_analysis::gui::GraphLayoutManager::getSupportedLayouts ( ) const

◆ registerLayout()

void graph_analysis::gui::GraphLayoutManager::registerLayout ( const GraphLayout::Ptr &  ptr)

Friends And Related Function Documentation

◆ base::Singleton< GraphLayoutManager >

friend class base::Singleton< GraphLayoutManager >
friend

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