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 Raster
createChild
(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList) final WritableRaster
final WritableRaster
createCompatibleWritableRaster
(int w, int h) final WritableRaster
createCompatibleWritableRaster
(int x, int y, int w, int h) final WritableRaster
final NoDataRaster
createTranslatedChild
(int childMinX, int childMinY) final Rectangle
final DataBuffer
final Object
getDataElements
(int x, int y, int w, int h, Object outData) final Object
getDataElements
(int x, int y, Object outData) final Raster
final 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 int
getSample
(int x, int y, int b) final double
getSampleDouble
(int x, int y, int b) final float
getSampleFloat
(int x, int y, int b) final SampleModel
final 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:
createCompatibleWritableRaster
in classRaster
-
createCompatibleWritableRaster
- Overrides:
createCompatibleWritableRaster
in classRaster
-
createCompatibleWritableRaster
- Overrides:
createCompatibleWritableRaster
in classRaster
-
createCompatibleWritableRaster
- 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
- Overrides:
createTranslatedChild
in classRaster
-
getBounds
-
getDataBuffer
- Overrides:
getDataBuffer
in classRaster
-
getSampleModel
- Overrides:
getSampleModel
in classRaster
-
getDataElements
- Overrides:
getDataElements
in classRaster
-
getDataElements
- 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) -
getSample
public final int getSample(int x, int y, int b) -
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
-