Class RandomIterFallbackInt

Object
RandomIterFallbackInt
All Implemented Interfaces:
RandomIter

public class RandomIterFallbackInt extends Object implements RandomIter
Slight modified version of ImageN RandomIterFallbackNoCacheNoArray that uses int vectors to handle indexes. It is useful when we have so many tiles that we cannot actually use byte indexes.
Author:
Simone Giannecchini, GeoSolutions SAS
  • 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