|
| GridLayoutMapped (const PlanRep &PG, const OrthoRep &OR, double separation, double cOverhang, int fineness=4) |
|
NodeArray< int > & | height () |
|
const NodeArray< int > & | height () const |
|
int & | height (node v) |
|
const int & | height (node v) const |
|
void | remap (Layout &drawing) override |
| Transforms the grid layout to a layout.
|
|
double | toDouble (int i) const |
|
int | toGrid (double x) const |
|
NodeArray< int > & | width () |
|
const NodeArray< int > & | width () const |
|
int & | width (node v) |
|
const int & | width (node v) const |
|
| GridLayout () |
| Creates an instance of a grid layout (associated with no graph).
|
|
| GridLayout (const Graph &G) |
| Creates an instance of a grid layout associated with G .
|
|
virtual | ~GridLayout () |
| Destruction.
|
|
EdgeArray< IPolyline > & | bends () |
| Returns a reference to the array storing the bend points of edges.
|
|
const EdgeArray< IPolyline > & | bends () const |
| Returns a reference to the array storing the bend points of edges.
|
|
IPolyline & | bends (edge e) |
| Returns a reference to the bend point list of edge e .
|
|
const IPolyline & | bends (edge e) const |
| Returns a reference to the bend point list of edge e .
|
|
bool | checkLayout () |
| Checks if the grid layout is reasonable.
|
|
void | compactAllBends () |
| Removes all unnecessary bends.
|
|
void | computeBoundingBox (int &xmin, int &xmax, int &ymin, int &ymax) |
| Computes the bounding box of the grid layout.
|
|
IPolyline | getCompactBends (edge e) const |
| Returns the bend point list of edge e without unnecessary bends.
|
|
void | init () |
| Initializes the grid layout for no graph (frees memory).
|
|
void | init (const Graph &G) |
| Initializes the grid layout for graph G .
|
|
int | manhattanEdgeLength (edge e) const |
|
int | maxManhattanEdgeLength () const |
|
int | numberOfBends () const |
| Computes the total number of bends in the grid layout.
|
|
IPolyline | polyline (edge e) const |
| Returns the polyline of edge e (including start and end point!).
|
|
double | totalEdgeLength () const |
| Computes the total (euclidean) edge length of the grid layout.
|
|
int | totalManhattanEdgeLength () const |
| Computes the total manhattan edge length of the grid layout.
|
|
NodeArray< int > & | x () |
| Returns a reference to the array storing the x-coordinates of nodes.
|
|
const NodeArray< int > & | x () const |
| Returns a reference to the array storing the x-coordinates of nodes.
|
|
int & | x (node v) |
| Returns a reference to the x-coordinate of node v .
|
|
const int & | x (node v) const |
| Returns a reference to the x-coordinate of node v .
|
|
NodeArray< int > & | y () |
| Returns a reference to the array storing the y-coordinates of nodes.
|
|
const NodeArray< int > & | y () const |
| Returns a reference to the array storing the y-coordinates of nodes.
|
|
int & | y (node v) |
| Returns a reference to the y-coordinate of node v .
|
|
const int & | y (node v) const |
| Returns a reference to the y-coordinate of node v .
|
|
Extends GridLayout by a grid mapping mechanism.
Definition at line 49 of file GridLayoutMapped.h.