|
MASA-Core
|
#include <Grid.hpp>
Public Member Functions | |
| Grid (Partition partition) | |
| virtual | ~Grid () |
| void | setBlockHeight (int blockHeight) |
| void | setBlockWidth (int blockWidth) |
| void | splitGridVertically (int count) |
| Splits the grid in $count$ positions (vertically). | |
| void | splitGridHorizontally (int count) |
| Splits the grid in $count$ positions (horizontal). | |
| void | splitGridVertically (int count, int *splits) |
| void | splitGridHorizontally (int count, int *splits) |
| void | getBlockPosition (int bx, int by, int *i0, int *j0, int *i1=NULL, int *j1=NULL) const |
| void | setMinBlockSize (int minBlockWidth, int minBlockHeight) |
| void | setAdjustment (int adjustment) |
| int | getBlockAdjustment (int bx, int by) const |
| int | getGridWidth () const |
| int | getGridHeight () const |
| int | getBlockWidth (int bx, int by) const |
| int | getBlockHeight (int bx, int by) const |
| int | getHeight () const |
| int | getWidth () const |
| const int * | getBlockSplitHorizontal () const |
| const int * | getBlockSplitVertical () const |
Private Member Functions | |
| void | getBlockPositionH (int bx, int by, int *j0, int *j1) const |
| void | getBlockPositionV (int bx, int by, int *i0, int *i1) const |
Private Attributes | |
| int | blockWidth |
| int | blockHeight |
| int | adjustment |
| int | minBlockWidth |
| int | minBlockHeight |
| int | blockCountHorizontal |
| int * | blockSplitHorizontal |
| int | blockCountVertical |
| int * | blockSplitVertical |
| int | width |
| int | height |
| Partition | partition |
| Grid::Grid | ( | Partition | partition | ) |
| Grid::~Grid | ( | ) | [virtual] |
| int Grid::getBlockAdjustment | ( | int | bx, |
| int | by | ||
| ) | const |
| int Grid::getBlockHeight | ( | int | bx, |
| int | by | ||
| ) | const |
| void Grid::getBlockPosition | ( | int | bx, |
| int | by, | ||
| int * | i0, | ||
| int * | j0, | ||
| int * | i1 = NULL, |
||
| int * | j1 = NULL |
||
| ) | const |
| void Grid::getBlockPositionH | ( | int | bx, |
| int | by, | ||
| int * | j0, | ||
| int * | j1 | ||
| ) | const [private] |
| void Grid::getBlockPositionV | ( | int | bx, |
| int | by, | ||
| int * | i0, | ||
| int * | i1 | ||
| ) | const [private] |
| const int * Grid::getBlockSplitHorizontal | ( | ) | const |
| const int * Grid::getBlockSplitVertical | ( | ) | const |
| int Grid::getBlockWidth | ( | int | bx, |
| int | by | ||
| ) | const |
| int Grid::getGridHeight | ( | ) | const |
| int Grid::getGridWidth | ( | ) | const |
| int Grid::getHeight | ( | ) | const |
| int Grid::getWidth | ( | ) | const |
| void Grid::setAdjustment | ( | int | adjustment | ) |
| void Grid::setBlockHeight | ( | int | blockHeight | ) |
| void Grid::setBlockWidth | ( | int | blockWidth | ) |
| void Grid::setMinBlockSize | ( | int | minBlockWidth, |
| int | minBlockHeight | ||
| ) |
| void Grid::splitGridHorizontally | ( | int | count | ) |
| void Grid::splitGridHorizontally | ( | int | count, |
| int * | splits | ||
| ) |
| void Grid::splitGridVertically | ( | int | count | ) |
| void Grid::splitGridVertically | ( | int | count, |
| int * | splits | ||
| ) |
int Grid::adjustment [private] |
int Grid::blockCountHorizontal [private] |
int Grid::blockCountVertical [private] |
int Grid::blockHeight [private] |
int* Grid::blockSplitHorizontal [private] |
int* Grid::blockSplitVertical [private] |
int Grid::blockWidth [private] |
int Grid::height [private] |
int Grid::minBlockHeight [private] |
int Grid::minBlockWidth [private] |
Partition Grid::partition [private] |
int Grid::width [private] |
1.7.6.1