Class RandomIterFallbackNoCacheNoArray

Object
RandomIterFallbackNoCacheNoArray
All Implemented Interfaces:
RandomIter

public class RandomIterFallbackNoCacheNoArray extends Object implements RandomIter
Modified version of ImageN RandomIterFallbackIntNoCache that doesn't stores the tile positions in an array. The current tile is not cached but it is calculated every time.
  • Constructor Details

    • RandomIterFallbackNoCacheNoArray

      public RandomIterFallbackNoCacheNoArray(RenderedImage im, Rectangle bounds)
  • 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