Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

#include <ogdf/upward/UpwardPlanarizationLayout.h>

+ Inheritance diagram for ogdf::UpwardPlanarizationLayout:

Public Member Functions

 UpwardPlanarizationLayout ()
 
virtual void call (GraphAttributes &GA) override
 Computes a layout of graph GA.
 
int numberOfCrossings () const
 
int numberOfLevels () const
 
void setUPRLayout (UPRLayoutModule *pLayout)
 
void setUpwardPlanarizer (UpwardPlanarizerModule *pUpwardPlanarizer)
 
- Public Member Functions inherited from ogdf::LayoutModule
 LayoutModule ()
 Initializes a layout module.
 
virtual ~LayoutModule ()
 
void operator() (GraphAttributes &GA)
 Computes a layout of graph GA.
 

Protected Attributes

int m_cr_nr
 
std::unique_ptr< UPRLayoutModulem_layout
 
int m_numLevels
 
std::unique_ptr< UpwardPlanarizerModulem_UpwardPlanarizer
 

Detailed Description

Definition at line 41 of file UpwardPlanarizationLayout.h.

Constructor & Destructor Documentation

◆ UpwardPlanarizationLayout()

ogdf::UpwardPlanarizationLayout::UpwardPlanarizationLayout ( )
inline

Definition at line 44 of file UpwardPlanarizationLayout.h.

Member Function Documentation

◆ call()

virtual void ogdf::UpwardPlanarizationLayout::call ( GraphAttributes GA)
inlineoverridevirtual

Computes a layout of graph GA.

This method is the actual algorithm call and must be implemented by derived classes.

Parameters
GAis the input graph and will also be assigned the layout information.

Implements ogdf::LayoutModule.

Definition at line 53 of file UpwardPlanarizationLayout.h.

◆ numberOfCrossings()

int ogdf::UpwardPlanarizationLayout::numberOfCrossings ( ) const
inline

Definition at line 73 of file UpwardPlanarizationLayout.h.

◆ numberOfLevels()

int ogdf::UpwardPlanarizationLayout::numberOfLevels ( ) const
inline

Definition at line 75 of file UpwardPlanarizationLayout.h.

◆ setUPRLayout()

void ogdf::UpwardPlanarizationLayout::setUPRLayout ( UPRLayoutModule pLayout)
inline

Definition at line 65 of file UpwardPlanarizationLayout.h.

◆ setUpwardPlanarizer()

void ogdf::UpwardPlanarizationLayout::setUpwardPlanarizer ( UpwardPlanarizerModule pUpwardPlanarizer)
inline

Definition at line 67 of file UpwardPlanarizationLayout.h.

Member Data Documentation

◆ m_cr_nr

int ogdf::UpwardPlanarizationLayout::m_cr_nr
protected

Definition at line 78 of file UpwardPlanarizationLayout.h.

◆ m_layout

std::unique_ptr<UPRLayoutModule> ogdf::UpwardPlanarizationLayout::m_layout
protected

Definition at line 81 of file UpwardPlanarizationLayout.h.

◆ m_numLevels

int ogdf::UpwardPlanarizationLayout::m_numLevels
protected

Definition at line 79 of file UpwardPlanarizationLayout.h.

◆ m_UpwardPlanarizer

std::unique_ptr<UpwardPlanarizerModule> ogdf::UpwardPlanarizationLayout::m_UpwardPlanarizer
protected

Definition at line 80 of file UpwardPlanarizationLayout.h.


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