public class RandomIterFallbackIntNoCache extends Object implements RandomIter
RandomIterFallbackByte
that stores the tile positions in a int array. The current tile is not cached but it is
calculated every time.Modifier and Type | Field and Description |
---|---|
protected Rectangle |
boundsRect |
protected int |
boundsX |
protected int |
boundsY |
protected RenderedImage |
im |
protected SampleModel |
sampleModel |
Constructor and Description |
---|
RandomIterFallbackIntNoCache(RenderedImage im,
Rectangle bounds) |
Modifier and Type | Method and Description |
---|---|
void |
done() |
double[] |
getPixel(int x,
int y,
double[] dArray) |
float[] |
getPixel(int x,
int y,
float[] fArray) |
int[] |
getPixel(int x,
int y,
int[] iArray) |
int |
getSample(int x,
int y,
int b) |
double |
getSampleDouble(int x,
int y,
int b) |
float |
getSampleFloat(int x,
int y,
int b) |
protected RenderedImage im
protected Rectangle boundsRect
protected SampleModel sampleModel
protected int boundsX
protected int boundsY
public RandomIterFallbackIntNoCache(RenderedImage im, Rectangle bounds)
public int getSample(int x, int y, int b)
getSample
in interface RandomIter
public float getSampleFloat(int x, int y, int b)
getSampleFloat
in interface RandomIter
public double getSampleDouble(int x, int y, int b)
getSampleDouble
in interface RandomIter
public int[] getPixel(int x, int y, int[] iArray)
getPixel
in interface RandomIter
public float[] getPixel(int x, int y, float[] fArray)
getPixel
in interface RandomIter
public double[] getPixel(int x, int y, double[] dArray)
getPixel
in interface RandomIter
public void done()
done
in interface RandomIter
Copyright © 2006–2018 GeoSolutions. All rights reserved.