Class RandomIterFallbackByteNoCache
Object
RandomIterFallbackByteNoCache
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddone()double[]getPixel(int x, int y, double[] dArray) float[]getPixel(int x, int y, float[] fArray) int[]getPixel(int x, int y, int[] iArray) intgetSample(int x, int y, int b) doublegetSampleDouble(int x, int y, int b) floatgetSampleFloat(int x, int y, int b)
-
Constructor Details
-
RandomIterFallbackByteNoCache
-
-
Method Details
-
getSample
public int getSample(int x, int y, int b) - Specified by:
getSamplein interfaceRandomIter
-
getSampleFloat
public float getSampleFloat(int x, int y, int b) - Specified by:
getSampleFloatin interfaceRandomIter
-
getSampleDouble
public double getSampleDouble(int x, int y, int b) - Specified by:
getSampleDoublein interfaceRandomIter
-
getPixel
public int[] getPixel(int x, int y, int[] iArray) - Specified by:
getPixelin interfaceRandomIter
-
getPixel
public float[] getPixel(int x, int y, float[] fArray) - Specified by:
getPixelin interfaceRandomIter
-
getPixel
public double[] getPixel(int x, int y, double[] dArray) - Specified by:
getPixelin interfaceRandomIter
-
done
public void done()- Specified by:
donein interfaceRandomIter
-