Simple procrustes analysis.
More...
#include <ogdf/misclayout/ProcrustesSubLayout.h>
Simple procrustes analysis.
Definition at line 110 of file ProcrustesSubLayout.h.
◆ ProcrustesSubLayout()
ogdf::ProcrustesSubLayout::ProcrustesSubLayout |
( |
LayoutModule * |
pSubLayout | ) |
|
|
explicit |
◆ ~ProcrustesSubLayout()
virtual ogdf::ProcrustesSubLayout::~ProcrustesSubLayout |
( |
| ) |
|
|
inlinevirtual |
◆ call()
Computes a layout of graph GA
.
This method is the actual algorithm call and must be implemented by derived classes.
- Parameters
-
GA | is the input graph and will also be assigned the layout information. |
Implements ogdf::LayoutModule.
◆ copyFromGraphAttributes()
Copies the coords in graph attributes to the point set.
◆ flipY()
◆ reverseTransform()
Does a reverse transform of graph attributes by using the origin, scale and angle in pointset.
◆ rotate()
void ogdf::ProcrustesSubLayout::rotate |
( |
GraphAttributes & |
graphAttributes, |
|
|
double |
angle |
|
) |
| |
|
private |
Rotates all coords in graphAttributes by angle
.
◆ scale()
void ogdf::ProcrustesSubLayout::scale |
( |
GraphAttributes & |
graphAttributes, |
|
|
double |
scale |
|
) |
| |
|
private |
Scales all coords in graphAttributes by scale
.
◆ scaleToInitialLayout()
bool ogdf::ProcrustesSubLayout::scaleToInitialLayout |
( |
| ) |
const |
|
inline |
Should the new layout scale be used or the initial scale? Defaults to true
.
Definition at line 124 of file ProcrustesSubLayout.h.
◆ setScaleToInitialLayout()
void ogdf::ProcrustesSubLayout::setScaleToInitialLayout |
( |
bool |
flag | ) |
|
|
inline |
Should the new layout scale be used or the initial scale? Defaults to true
.
Definition at line 121 of file ProcrustesSubLayout.h.
◆ translate()
void ogdf::ProcrustesSubLayout::translate |
( |
GraphAttributes & |
graphAttributes, |
|
|
double |
dx, |
|
|
double |
dy |
|
) |
| |
|
private |
Moves all coords in graphAttributes by dx
, dy
.
◆ m_pSubLayout
◆ m_scaleToInitialLayout
bool ogdf::ProcrustesSubLayout::m_scaleToInitialLayout |
|
private |
The documentation for this class was generated from the following file: