MeVisLab Toolbox Reference
|
Iterator that takes a region and a tile extent, and returns subsequent tiles that cover the region starting at region.v1. More...
#include <mlTileIterator.h>
Public Member Functions | |
TileIterator () | |
void | init (const SubImageBox ®ion, const ImageVector &tileExtent) |
Initializes the iterator with the region and the desired tileExtent . | |
void | setClipTiles (bool clip) |
Sets whether tiles are clipped. | |
MLint | getNumTiles () const |
Returns the total number of tiles that are going to be generated. | |
SubImageBox | getNextTile () |
Returns the next tile. | |
Iterator that takes a region and a tile extent, and returns subsequent tiles that cover the region starting at region.v1.
Definition at line 24 of file mlTileIterator.h.
ml::TileIterator::TileIterator | ( | ) |
SubImageBox ml::TileIterator::getNextTile | ( | ) |
Returns the next tile.
Requesting more than getNumTiles() results in an undefined result!
|
inline |
Returns the total number of tiles that are going to be generated.
Definition at line 36 of file mlTileIterator.h.
void ml::TileIterator::init | ( | const SubImageBox & | region, |
const ImageVector & | tileExtent ) |
Initializes the iterator with the region
and the desired tileExtent
.
Sets whether tiles are clipped.
Definition at line 33 of file mlTileIterator.h.
References mlrange_cast().