Package ome.io.nio

Interface TileLoopIteration


  • public interface TileLoopIteration
    A single iteration of a tile for each loop.
    Since:
    OMERO Beta-4.3.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void run​(int z, int c, int t, int x, int y, int tileWidth, int tileHeight, int tileCount)
      Invoke a single loop iteration.
    • Method Detail

      • run

        void run​(int z,
                 int c,
                 int t,
                 int x,
                 int y,
                 int tileWidth,
                 int tileHeight,
                 int tileCount)
          throws Utils.FailedTileLoopException
        Invoke a single loop iteration.
        Parameters:
        z - Z section counter of the loop.
        c - Channel counter of the loop.
        t - Timepoint counter of the loop.
        x - X offset within the plane specified by the section, channel and timepoint counters.
        y - Y offset within the plane specified by the section, channel and timepoint counters.
        tileWidth - Width of the tile requested. The tile request itself may be smaller than the original tile width requested if x + tileWidth > sizeX.
        tileHeight - Height of the tile requested. The tile request itself may be smaller if y + tileHeight > sizeY.
        tileCount - Counter of the tile since the beginning of the loop.
        Throws:
        Utils.FailedTileLoopException - if the loop should be aborted with no more tiles processed