Simple procrustes analysis.
More...
#include <ogdf/misclayout/ProcrustesSubLayout.h>
Simple procrustes analysis.
Definition at line 108 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()
Rotates all coords in graphAttributes by angle
.
◆ scale()
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 122 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 119 of file ProcrustesSubLayout.h.
◆ translate()
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: