Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::GeometricVertexInsertion Class Reference

#include <ogdf/geometric/GeometricVertexInsertion.h>

+ Inheritance diagram for ogdf::GeometricVertexInsertion:

Public Member Functions

 GeometricVertexInsertion (Graph &_g)
 Constructor, sets options to default values.
 
 ~GeometricVertexInsertion ()
 
virtual void call (GraphAttributes &GA) override
 The main call to the algorithm. GA should have nodeGraphics attributes enabled.
 
void setInitialLayouter (ogdf::LayoutModule *initial_layout_module)
 sets the method to compute the initial layout of the computed (planar) subgraph
 
void setVertexOrder (List< node > *vertex_order)
 
void setVertexPosition (VertexPositionModule *opt_pos)
 
- Public Member Functions inherited from ogdf::LayoutModule
 LayoutModule ()
 Initializes a layout module.
 
virtual ~LayoutModule ()
 
void operator() (GraphAttributes &GA)
 Computes a layout of graph GA.
 

Private Attributes

Graphg
 
LayoutModulem_initial_layout_module = nullptr
 
VertexPositionModulem_pos = nullptr
 
List< node > * m_vertex_order = nullptr
 

Detailed Description

Precondition
Requires CGAL! See README.md in this folder.

Definition at line 58 of file GeometricVertexInsertion.h.

Constructor & Destructor Documentation

◆ GeometricVertexInsertion()

ogdf::GeometricVertexInsertion::GeometricVertexInsertion ( Graph _g)
inline

Constructor, sets options to default values.

Definition at line 61 of file GeometricVertexInsertion.h.

◆ ~GeometricVertexInsertion()

ogdf::GeometricVertexInsertion::~GeometricVertexInsertion ( )
inline

Definition at line 63 of file GeometricVertexInsertion.h.

Member Function Documentation

◆ call()

virtual void ogdf::GeometricVertexInsertion::call ( GraphAttributes GA)
overridevirtual

The main call to the algorithm. GA should have nodeGraphics attributes enabled.

Implements ogdf::LayoutModule.

◆ setInitialLayouter()

void ogdf::GeometricVertexInsertion::setInitialLayouter ( ogdf::LayoutModule initial_layout_module)
inline

sets the method to compute the initial layout of the computed (planar) subgraph

Definition at line 73 of file GeometricVertexInsertion.h.

◆ setVertexOrder()

void ogdf::GeometricVertexInsertion::setVertexOrder ( List< node > *  vertex_order)
inline

Definition at line 70 of file GeometricVertexInsertion.h.

◆ setVertexPosition()

void ogdf::GeometricVertexInsertion::setVertexPosition ( VertexPositionModule opt_pos)
inline

Definition at line 68 of file GeometricVertexInsertion.h.

Member Data Documentation

◆ g

Graph& ogdf::GeometricVertexInsertion::g
private

Definition at line 78 of file GeometricVertexInsertion.h.

◆ m_initial_layout_module

LayoutModule* ogdf::GeometricVertexInsertion::m_initial_layout_module = nullptr
private

Definition at line 81 of file GeometricVertexInsertion.h.

◆ m_pos

VertexPositionModule* ogdf::GeometricVertexInsertion::m_pos = nullptr
private

Definition at line 79 of file GeometricVertexInsertion.h.

◆ m_vertex_order

List<node>* ogdf::GeometricVertexInsertion::m_vertex_order = nullptr
private

Definition at line 80 of file GeometricVertexInsertion.h.


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