Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

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. More...
 
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. More...
 
virtual ~LayoutModule ()
 
void operator() (GraphAttributes &GA)
 Computes a layout of graph GA. More...
 

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 45 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 55 of file UpwardPlanarizationLayout.h.

◆ numberOfCrossings()

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

Definition at line 78 of file UpwardPlanarizationLayout.h.

◆ numberOfLevels()

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

Definition at line 80 of file UpwardPlanarizationLayout.h.

◆ setUPRLayout()

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

Definition at line 68 of file UpwardPlanarizationLayout.h.

◆ setUpwardPlanarizer()

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

Definition at line 72 of file UpwardPlanarizationLayout.h.

Member Data Documentation

◆ m_cr_nr

int ogdf::UpwardPlanarizationLayout::m_cr_nr
protected

Definition at line 83 of file UpwardPlanarizationLayout.h.

◆ m_layout

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

Definition at line 86 of file UpwardPlanarizationLayout.h.

◆ m_numLevels

int ogdf::UpwardPlanarizationLayout::m_numLevels
protected

Definition at line 84 of file UpwardPlanarizationLayout.h.

◆ m_UpwardPlanarizer

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

Definition at line 85 of file UpwardPlanarizationLayout.h.


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