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) |
Init the iterator with the region , the desired tileExtent . | |
void | setClipTiles (bool clip) |
Set if tiles are clipped. | |
MLint | getNumTiles () const |
Get the total number of tiles that are going to be generated. | |
SubImageBox | getNextTile () |
Get the next tile (requesting more than getNumTiles() results in an undefined result!) | |
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 | ( | ) |
Get the next tile (requesting more than getNumTiles() results in an undefined result!)
|
inline |
Get 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 ) |
Init the iterator with the region
, the desired tileExtent
.
Set if tiles are clipped.
Definition at line 33 of file mlTileIterator.h.
References mlrange_cast().