Class BandedIterator.FloatWindow

java.lang.Object
org.apache.sis.image.PixelIterator.Window<FloatBuffer>
org.apache.sis.image.BandedIterator.FloatWindow
Enclosing class:
BandedIterator

private final class BandedIterator.FloatWindow extends PixelIterator.Window<FloatBuffer>
PixelIterator.Window implementation backed by an array of float[]. This is a copy of PixelIterator.FloatWindow except in getPixels(…) implementation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final float[]
    Sample values in the window (data) and a temporary array (transfer).
    private final float[]
    Sample values in the window (data) and a temporary array (transfer).

    Fields inherited from class org.apache.sis.image.PixelIterator.Window

    DIRECT, TRANSFER, TRANSFER_FROM_OTHER, values
  • Constructor Summary

    Constructors
    Constructor
    Description
    FloatWindow(float[] data, float[] transfer)
    Creates a new window which will store the sample values in the given data array.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) Object
    getPixels(Raster raster, int subX, int subY, int subWidth, int subHeight, int mode)
    Performs the transfer between the underlying raster and this window.
    (package private) final PixelIterator
    Returns the iterator that created this window.
    void
    Updates this window with the sample values in the region starting at current iterator position.

    Methods inherited from class org.apache.sis.image.PixelIterator.Window

    getSize

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • data

      private final float[] data
      Sample values in the window (data) and a temporary array (transfer). Those arrays are overwritten when update() is invoked.
    • transfer

      private final float[] transfer
      Sample values in the window (data) and a temporary array (transfer). Those arrays are overwritten when update() is invoked.
  • Constructor Details

    • FloatWindow

      FloatWindow(float[] data, float[] transfer)
      Creates a new window which will store the sample values in the given data array.
  • Method Details