Package omero :: Package util :: Module tiles :: Class TileLoop
[hide private]
[frames] | no frames]

Class TileLoop

source code


Instance Methods [hide private]
 
createData(self)
Subclasses must provide a fresh instance of {@link TileData}.
source code
 
forEachTile(self, sizeX, sizeY, sizeZ, sizeC, sizeT, tileWidth, tileHeight, iteration)
Iterates over every tile in a given pixel based on the over arching dimensions and a requested maximum tile width and height.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

createData(self)

source code 

Subclasses must provide a fresh instance of {@link TileData}. The instance will be closed after the run of forEachTile.

returns: TileData

forEachTile(self, sizeX, sizeY, sizeZ, sizeC, sizeT, tileWidth, tileHeight, iteration)

source code 

Iterates over every tile in a given pixel based on the over arching dimensions and a requested maximum tile width and height. @param iteration Invoker to call for each tile. @param pixel Pixel instance @param tileWidth <b>Maximum</b> width of the tile requested. The tile request itself will be smaller than the original tile width requested if <code>x + tileWidth > sizeX</code>. @param tileHeight <b>Maximum</b> height of the tile requested. The tile request itself will be smaller if <code>y + tileHeight > sizeY</code>. @return The total number of tiles iterated over.