MeVisLab Toolbox Reference
ml::TileIterator Class 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 &region, const ImageVector &tileExtent)
 Init the iterator with the region, the desired tileExtent. More...
 
void setClipTiles (bool clip)
 Set if tiles are clipped. More...
 
MLint getNumTiles () const
 Get the total number of tiles that are going to be generated. More...
 
SubImageBox getNextTile ()
 Get the next tile (requesting more than getNumTiles() results in an undefined result!) More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TileIterator()

ml::TileIterator::TileIterator ( )

Member Function Documentation

◆ getNextTile()

SubImageBox ml::TileIterator::getNextTile ( )

Get the next tile (requesting more than getNumTiles() results in an undefined result!)

◆ getNumTiles()

MLint ml::TileIterator::getNumTiles ( ) const
inline

Get the total number of tiles that are going to be generated.

Definition at line 36 of file mlTileIterator.h.

◆ init()

void ml::TileIterator::init ( const SubImageBox region,
const ImageVector tileExtent 
)

Init the iterator with the region, the desired tileExtent.

◆ setClipTiles()

void ml::TileIterator::setClipTiles ( bool  clip)
inline

Set if tiles are clipped.

Definition at line 33 of file mlTileIterator.h.


The documentation for this class was generated from the following file: