public abstract class TileLoop extends Object
Constructor and Description |
---|
TileLoop() |
Modifier and Type | Method and Description |
---|---|
abstract TileData |
createData()
Subclasses must provide a fresh instance of
TileData . |
int |
forEachTile(int sizeX,
int sizeY,
int sizeZ,
int sizeC,
int sizeT,
int tileWidth,
int tileHeight,
TileLoopIteration iteration)
Iterates over every tile in a given pixel based on the
over arching dimensions and a requested maximum tile width and height.
|
public abstract TileData createData()
TileData
.
The instance will be closed after the run of forEachTile.public int forEachTile(int sizeX, int sizeY, int sizeZ, int sizeC, int sizeT, int tileWidth, int tileHeight, TileLoopIteration iteration)
iteration
- Invoker to call for each tile.pixel
- Pixel instancetileWidth
- Maximum width of the tile requested. The tile
request itself will be smaller than the original tile width requested if
x + tileWidth > sizeX
.tileHeight
- Maximum height of the tile requested. The tile
request itself will be smaller if y + tileHeight > sizeY
.
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.