Package com.bc.ceres.jai
Class NoDataRaster
java.lang.Object
java.awt.image.Raster
com.bc.ceres.jai.NoDataRaster
A
Raster representing a tile with no interpretable data. Note
that the sole purpose of this class is to mark tiles, which are known
to contain no interpretable data.- Since:
- Ceres 0.10
- Version:
- $Revision: $ $Date: $
-
Field Summary
Fields inherited from class java.awt.image.Raster
dataBuffer, height, minX, minY, numBands, numDataElements, parent, sampleModel, sampleModelTranslateX, sampleModelTranslateY, width -
Constructor Summary
ConstructorsConstructorDescriptionNoDataRaster(Raster raster) Constructs a NoDataRaster with the SampleModel, DataBuffer and origin of the given Raster -
Method Summary
Modifier and TypeMethodDescriptionfinal RastercreateChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) final WritableRasterfinal WritableRastercreateCompatibleWritableRaster(int w, int h) final WritableRastercreateCompatibleWritableRaster(int x, int y, int w, int h) final WritableRasterfinal NoDataRastercreateTranslatedChild(int childMinX, int childMinY) final Rectanglefinal DataBufferfinal ObjectgetDataElements(int x, int y, int w, int h, Object outData) final ObjectgetDataElements(int x, int y, Object outData) final Rasterfinal double[]getPixel(int x, int y, double[] dArray) final float[]getPixel(int x, int y, float[] fArray) final int[]getPixel(int x, int y, int[] iArray) final double[]getPixels(int x, int y, int w, int h, double[] dArray) final float[]getPixels(int x, int y, int w, int h, float[] fArray) final int[]getPixels(int x, int y, int w, int h, int[] iArray) final intgetSample(int x, int y, int b) final doublegetSampleDouble(int x, int y, int b) final floatgetSampleFloat(int x, int y, int b) final SampleModelfinal double[]getSamples(int x, int y, int w, int h, int b, double[] dArray) final float[]getSamples(int x, int y, int w, int h, int b, float[] fArray) final 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 Details
-
NoDataRaster
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 Details
-
getParent
-
createCompatibleWritableRaster
- Overrides:
createCompatibleWritableRasterin classRaster
-
createCompatibleWritableRaster
- Overrides:
createCompatibleWritableRasterin classRaster
-
createCompatibleWritableRaster
- Overrides:
createCompatibleWritableRasterin classRaster
-
createCompatibleWritableRaster
- Overrides:
createCompatibleWritableRasterin classRaster
-
createChild
public final Raster createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) - Overrides:
createChildin classRaster
-
createTranslatedChild
- Overrides:
createTranslatedChildin classRaster
-
getBounds
-
getDataBuffer
- Overrides:
getDataBufferin classRaster
-
getSampleModel
- Overrides:
getSampleModelin classRaster
-
getDataElements
- Overrides:
getDataElementsin classRaster
-
getDataElements
- Overrides:
getDataElementsin 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) -
getSample
public final int getSample(int x, int y, int b) -
getSampleFloat
public final float getSampleFloat(int x, int y, int b) - Overrides:
getSampleFloatin classRaster
-
getSampleDouble
public final double getSampleDouble(int x, int y, int b) - Overrides:
getSampleDoublein classRaster
-
getSamples
public final int[] getSamples(int x, int y, int w, int h, int b, int[] iArray) - Overrides:
getSamplesin classRaster
-
getSamples
public final float[] getSamples(int x, int y, int w, int h, int b, float[] fArray) - Overrides:
getSamplesin classRaster
-
getSamples
public final double[] getSamples(int x, int y, int w, int h, int b, double[] dArray) - Overrides:
getSamplesin classRaster
-