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 RastercreateChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList)WritableRastercreateCompatibleWritableRaster()WritableRastercreateCompatibleWritableRaster(int w, int h)WritableRastercreateCompatibleWritableRaster(int x, int y, int w, int h)WritableRastercreateCompatibleWritableRaster(Rectangle rect)NoDataRastercreateTranslatedChild(int childMinX, int childMinY)RectanglegetBounds()DataBuffergetDataBuffer()ObjectgetDataElements(int x, int y, int w, int h, Object outData)ObjectgetDataElements(int x, int y, Object outData)RastergetParent()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)intgetSample(int x, int y, int b)doublegetSampleDouble(int x, int y, int b)floatgetSampleFloat(int x, int y, int b)SampleModelgetSampleModel()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:
createCompatibleWritableRasterin classRaster
-
createCompatibleWritableRaster
public final WritableRaster createCompatibleWritableRaster(int w, int h)
- Overrides:
createCompatibleWritableRasterin classRaster
-
createCompatibleWritableRaster
public final WritableRaster createCompatibleWritableRaster(Rectangle rect)
- Overrides:
createCompatibleWritableRasterin classRaster
-
createCompatibleWritableRaster
public final WritableRaster createCompatibleWritableRaster(int x, int y, int w, int h)
- 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
public final NoDataRaster createTranslatedChild(int childMinX, int childMinY)
- Overrides:
createTranslatedChildin classRaster
-
getDataBuffer
public final DataBuffer getDataBuffer()
- Overrides:
getDataBufferin classRaster
-
getSampleModel
public final SampleModel getSampleModel()
- Overrides:
getSampleModelin classRaster
-
getDataElements
public final Object getDataElements(int x, int y, Object outData)
- Overrides:
getDataElementsin classRaster
-
getDataElements
public final Object getDataElements(int x, int y, int w, int h, Object outData)
- 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)
-
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
-
-