Class AbstractTileOperation

    • Method Detail

      • execute

        public void execute​(java.util.concurrent.ExecutorService threadPool)
      • getPixelSize

        public int getPixelSize()
        Returns:
        the number of pixels in this tile.
      • getTileIndex

        public int getTileIndex()
      • setWholeImageBuffer

        public void setWholeImageBuffer​(java.nio.Buffer buffer)
        set the buffer that describes the whole image and let the tile create a slice of it from the position where the tile starts in the whole image. Attention this method is not thread-safe because it changes the position of the buffer parameter.
        Parameters:
        buffer - the buffer that describes the whole image.
      • waitForResult

        public void waitForResult()
        Wait for the result of the tile processing.
        Specified by:
        waitForResult in interface ITileOperation
      • getBaseType

        protected PrimitiveType<java.nio.Buffer> getBaseType()
      • getPreviousTileOperation

        protected ITileOperation getPreviousTileOperation()
      • getTileBuffer

        protected TileBuffer getTileBuffer()
      • setTileBuffer

        protected void setTileBuffer​(TileBuffer tileBuffer)