Class RandomIterFallbackByteNoCache

Object
RandomIterFallbackByteNoCache
All Implemented Interfaces:
RandomIter

public class RandomIterFallbackByteNoCache extends Object implements RandomIter
Modified version of ImageN RandomIterFallbackByte that stores the tile positions in a byte array with less memory usage. The current tile is not cached but it is calculated every time.
  • Constructor Details

  • Method Details

    • getSample

      public int getSample(int x, int y, int b)
      Specified by:
      getSample in interface RandomIter
    • getSampleFloat

      public float getSampleFloat(int x, int y, int b)
      Specified by:
      getSampleFloat in interface RandomIter
    • getSampleDouble

      public double getSampleDouble(int x, int y, int b)
      Specified by:
      getSampleDouble in interface RandomIter
    • getPixel

      public int[] getPixel(int x, int y, int[] iArray)
      Specified by:
      getPixel in interface RandomIter
    • getPixel

      public float[] getPixel(int x, int y, float[] fArray)
      Specified by:
      getPixel in interface RandomIter
    • getPixel

      public double[] getPixel(int x, int y, double[] dArray)
      Specified by:
      getPixel in interface RandomIter
    • done

      public void done()
      Specified by:
      done in interface RandomIter