Interface of hierarchy layout algorithms. More...
#include <ogdf/module/UPRLayoutModule.h>
Public Member Functions | |
| UPRLayoutModule () | |
| Initializes a upward planarized representation layout module. | |
| virtual | ~UPRLayoutModule () |
| void | call (const UpwardPlanRep &UPR, GraphAttributes &AG) |
| Computes a upward layout of UPR in AG. | |
Public Attributes | |
| int | numberOfLevels |
Protected Member Functions | |
| virtual void | doCall (const UpwardPlanRep &UPR, GraphAttributes &AG)=0 |
| Implements the actual algorithm call. | |
Interface of hierarchy layout algorithms.
Definition at line 63 of file UPRLayoutModule.h.
| ogdf::UPRLayoutModule::UPRLayoutModule | ( | ) | [inline] |
Initializes a upward planarized representation layout module.
Definition at line 66 of file UPRLayoutModule.h.
| virtual ogdf::UPRLayoutModule::~UPRLayoutModule | ( | ) | [inline, virtual] |
Definition at line 68 of file UPRLayoutModule.h.
| void ogdf::UPRLayoutModule::call | ( | const UpwardPlanRep & | UPR, |
| GraphAttributes & | AG | ||
| ) | [inline] |
Computes a upward layout of UPR in AG.
| UPR | is the upward planarized representation of the input graph. The original graph of UPR muss be the input graph. |
| AG | is assigned the hierarchy layout. |
Definition at line 75 of file UPRLayoutModule.h.
| virtual void ogdf::UPRLayoutModule::doCall | ( | const UpwardPlanRep & | UPR, |
| GraphAttributes & | AG | ||
| ) | [protected, pure virtual] |
Implements the actual algorithm call.
Must be implemented by derived classes.
| UPR | is the upward planarized representation of the input graph. The original graph of UPR muss be the input graph. |
| AG | has to be assigned the hierarchy layout. |
Implemented in ogdf::LayerBasedUPRLayout.
Definition at line 79 of file UPRLayoutModule.h.