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(int, int, int, int, int, int, int, TileLoopIteration)
.public int forEachTile(int sizeX, int sizeY, int sizeZ, int sizeC, int sizeT, int tileWidth, int tileHeight, TileLoopIteration iteration)
sizeX
- the size of the plane's X dimensionsizeY
- the size of the plane's Y dimensionsizeZ
- the size of the plane's Z dimensionsizeC
- the size of the plane's C dimensionsizeT
- the size of the plane's T dimensioniteration
- Invoker to call for each tile.tileWidth
- 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.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.