A simple procrustes analysis implementation.
More...
#include <ogdf/misclayout/ProcrustesSubLayout.h>
A simple procrustes analysis implementation.
Definition at line 135 of file ProcrustesSubLayout.h.
◆ ProcrustesSubLayout()
| ogdf::ProcrustesSubLayout::ProcrustesSubLayout |
( |
LayoutModule * |
pSubLayout | ) |
|
Creates an instance of circular layout.
◆ ~ProcrustesSubLayout()
| ogdf::ProcrustesSubLayout::~ProcrustesSubLayout |
( |
| ) |
|
|
inline |
◆ call()
◆ copyFromGraphAttributes()
copysthe 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 |
◆ setScaleToInitialLayout()
| void ogdf::ProcrustesSubLayout::setScaleToInitialLayout |
( |
bool |
flag | ) |
|
|
inline |
Should the new layout scale be used or the initial scale? Default: inital.
Definition at line 148 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: