|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.io.nio.Utils
public class Utils
General utility methods for working with ROMIO classes.
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static int |
forEachTile(TileLoopIteration iteration,
int sizeX,
int sizeY,
int sizeZ,
int sizeC,
int sizeT,
int tileWidth,
int tileHeight)
Iterates over every tile in a given pixel buffer based on the over arching dimensions and a requested maximum tile width and height. |
static int |
forEachTile(TileLoopIteration iteration,
PixelBuffer pixelBuffer,
int tileWidth,
int tileHeight)
Iterates over every tile in a given pixel buffer based on the over arching dimensions and a requested maximum tile width and height. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static int forEachTile(TileLoopIteration iteration, PixelBuffer pixelBuffer, int tileWidth, int tileHeight)
iteration
- Invoker to call for each tile.pixelBuffer
- Pixel buffer which is backing the pixel data.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
.
public static int forEachTile(TileLoopIteration iteration, int sizeX, int sizeY, int sizeZ, int sizeC, int sizeT, int tileWidth, int tileHeight)
iteration
- Invoker to call for each tile.pixelBuffer
- Pixel buffer which is backing the pixel data.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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.