Package com.bc.ceres.jai
Class NoDataRaster
- java.lang.Object
-
- java.awt.image.Raster
-
- com.bc.ceres.jai.NoDataRaster
-
-
Field Summary
-
Fields inherited from class java.awt.image.Raster
dataBuffer, height, minX, minY, numBands, numDataElements, parent, sampleModel, sampleModelTranslateX, sampleModelTranslateY, width
-
-
Constructor Summary
Constructors Constructor Description NoDataRaster(Raster raster)
Constructs a NoDataRaster with the SampleModel, DataBuffer and origin of the given Raster
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Raster
createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList)
WritableRaster
createCompatibleWritableRaster()
WritableRaster
createCompatibleWritableRaster(int w, int h)
WritableRaster
createCompatibleWritableRaster(int x, int y, int w, int h)
WritableRaster
createCompatibleWritableRaster(Rectangle rect)
NoDataRaster
createTranslatedChild(int childMinX, int childMinY)
Rectangle
getBounds()
DataBuffer
getDataBuffer()
Object
getDataElements(int x, int y, int w, int h, Object outData)
Object
getDataElements(int x, int y, Object outData)
Raster
getParent()
double[]
getPixel(int x, int y, double[] dArray)
float[]
getPixel(int x, int y, float[] fArray)
int[]
getPixel(int x, int y, int[] iArray)
double[]
getPixels(int x, int y, int w, int h, double[] dArray)
float[]
getPixels(int x, int y, int w, int h, float[] fArray)
int[]
getPixels(int x, int y, int w, int h, 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)
SampleModel
getSampleModel()
double[]
getSamples(int x, int y, int w, int h, int b, double[] dArray)
float[]
getSamples(int x, int y, int w, int h, int b, float[] fArray)
int[]
getSamples(int x, int y, int w, int h, int b, int[] iArray)
-
Methods inherited from class java.awt.image.Raster
createBandedRaster, createBandedRaster, createBandedRaster, createInterleavedRaster, createInterleavedRaster, createInterleavedRaster, createPackedRaster, createPackedRaster, createPackedRaster, createPackedRaster, createRaster, createWritableRaster, createWritableRaster, getHeight, getMinX, getMinY, getNumBands, getNumDataElements, getSampleModelTranslateX, getSampleModelTranslateY, getTransferType, getWidth
-
-
-
-
Constructor Detail
-
NoDataRaster
public NoDataRaster(Raster raster)
Constructs a NoDataRaster with the SampleModel, DataBuffer and origin of the given Raster- Parameters:
raster
- The Raster representing a tile with no interpretable data.
-
-
Method Detail
-
createCompatibleWritableRaster
public final WritableRaster createCompatibleWritableRaster()
- Overrides:
createCompatibleWritableRaster
in classRaster
-
createCompatibleWritableRaster
public final WritableRaster createCompatibleWritableRaster(int w, int h)
- Overrides:
createCompatibleWritableRaster
in classRaster
-
createCompatibleWritableRaster
public final WritableRaster createCompatibleWritableRaster(Rectangle rect)
- Overrides:
createCompatibleWritableRaster
in classRaster
-
createCompatibleWritableRaster
public final WritableRaster createCompatibleWritableRaster(int x, int y, int w, int h)
- Overrides:
createCompatibleWritableRaster
in classRaster
-
createChild
public final Raster createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList)
- Overrides:
createChild
in classRaster
-
createTranslatedChild
public final NoDataRaster createTranslatedChild(int childMinX, int childMinY)
- Overrides:
createTranslatedChild
in classRaster
-
getDataBuffer
public final DataBuffer getDataBuffer()
- Overrides:
getDataBuffer
in classRaster
-
getSampleModel
public final SampleModel getSampleModel()
- Overrides:
getSampleModel
in classRaster
-
getDataElements
public final Object getDataElements(int x, int y, Object outData)
- Overrides:
getDataElements
in classRaster
-
getDataElements
public final Object getDataElements(int x, int y, int w, int h, Object outData)
- Overrides:
getDataElements
in classRaster
-
getPixel
public final int[] getPixel(int x, int y, int[] iArray)
-
getPixel
public final float[] getPixel(int x, int y, float[] fArray)
-
getPixel
public final double[] getPixel(int x, int y, double[] dArray)
-
getPixels
public final int[] getPixels(int x, int y, int w, int h, int[] iArray)
-
getPixels
public final float[] getPixels(int x, int y, int w, int h, float[] fArray)
-
getPixels
public final double[] getPixels(int x, int y, int w, int h, double[] dArray)
-
getSampleFloat
public final float getSampleFloat(int x, int y, int b)
- Overrides:
getSampleFloat
in classRaster
-
getSampleDouble
public final double getSampleDouble(int x, int y, int b)
- Overrides:
getSampleDouble
in classRaster
-
getSamples
public final int[] getSamples(int x, int y, int w, int h, int b, int[] iArray)
- Overrides:
getSamples
in classRaster
-
getSamples
public final float[] getSamples(int x, int y, int w, int h, int b, float[] fArray)
- Overrides:
getSamples
in classRaster
-
getSamples
public final double[] getSamples(int x, int y, int w, int h, int b, double[] dArray)
- Overrides:
getSamples
in classRaster
-
-