#include <TileToRowsCCPacker.h>

Public Member Functions | |
| TileToRowsCCPacker () | |
| Creates an instance of tile-to-rows packer. | |
| virtual | ~TileToRowsCCPacker () |
| void | call (Array< DPoint > &box, Array< DPoint > &offset, double pageRatio=1.0) |
| Arranges the rectangles given by box. | |
| void | call (Array< IPoint > &box, Array< IPoint > &offset, double pageRatio=1.0) |
| Arranges the rectangles given by box. | |
Static Private Member Functions | |
| template<class POINT> | |
| static void | callGeneric (Array< POINT > &box, Array< POINT > &offset, double pageRatio) |
| template<class POINT> | |
| static int | findBestRow (Array< RowInfo< POINT > > &row, int nRows, double pageRatio, const POINT &rect) |
Definition at line 68 of file TileToRowsCCPacker.h.
| ogdf::TileToRowsCCPacker::TileToRowsCCPacker | ( | ) | [inline] |
| virtual ogdf::TileToRowsCCPacker::~TileToRowsCCPacker | ( | ) | [inline, virtual] |
Definition at line 76 of file TileToRowsCCPacker.h.
| void ogdf::TileToRowsCCPacker::call | ( | Array< DPoint > & | box, | |
| Array< DPoint > & | offset, | |||
| double | pageRatio = 1.0 | |||
| ) | [virtual] |
Arranges the rectangles given by box.
The algorithm call takes an input an array box of rectangles with real coordinates and computes in offset the offset to (0,0) of each rectangle in the layout.
| box | is the array of input rectangles. | |
| offset | is assigned the offset of each rectangle to the origin (0,0). The offset of a rectangle is its lower left point in the layout. | |
| pageRatio | is the desired page ratio (width / height) of the resulting layout. |
Implements ogdf::CCLayoutPackModule.
| void ogdf::TileToRowsCCPacker::call | ( | Array< IPoint > & | box, | |
| Array< IPoint > & | offset, | |||
| double | pageRatio = 1.0 | |||
| ) | [virtual] |
Arranges the rectangles given by box.
The algorithm call takes an input an array box of rectangles with real coordinates and computes in offset the offset to (0,0) of each rectangle in the layout.
| box | is the array of input rectangles. | |
| offset | is assigned the offset of each rectangle to the origin (0,0). The offset of a rectangle is its lower left point in the layout. | |
| pageRatio | is the desired page ratio (width / height) of the resulting layout. |
Implements ogdf::CCLayoutPackModule.
| static void ogdf::TileToRowsCCPacker::callGeneric | ( | Array< POINT > & | box, | |
| Array< POINT > & | offset, | |||
| double | pageRatio | |||
| ) | [inline, static, private] |
| static int ogdf::TileToRowsCCPacker::findBestRow | ( | Array< RowInfo< POINT > > & | row, | |
| int | nRows, | |||
| double | pageRatio, | |||
| const POINT & | rect | |||
| ) | [inline, static, private] |