Lines Matching refs:SampleModel

52  * SampleModel that describes how to locate a given sample value in a
66 * A SampleModel describes how samples of a Raster
71 * MultiPixelPackedSampleModel. The SampleModel is also
76 * Although a Raster may live anywhere in the plane, a SampleModel
80 * that of the SampleModel. The translation from the SampleModel
101 * corresponding SampleModel coordinate, and in the second case (-50,
118 * an externally generated SampleModel and DataBuffer.
120 * @see java.awt.image.SampleModel
129 * The SampleModel that describes how pixels from this Raster
132 protected SampleModel sampleModel;
151 * Raster's SampleModel to that of the Raster.
157 * Raster's SampleModel to that of the Raster.
479 * Creates a Raster based on a packed SampleModel with the
481 * per band. If the number of bands is one, the SampleModel will
484 * <p> If the number of bands is more than one, the SampleModel
487 * and bitsPerBand imposed by the corresponding SampleModel must
859 * Creates a Raster with the specified SampleModel and DataBuffer.
862 * @param sm the specified <code>SampleModel</code>
866 * <code>SampleModel</code>, <code>DataBuffer</code>, and
876 * @throws NullPointerException if either SampleModel or DataBuffer is
879 public static Raster createRaster(SampleModel sm,
883 throw new NullPointerException("SampleModel and DataBuffer cannot be null");
922 * Creates a WritableRaster with the specified SampleModel.
925 * @param sm the specified <code>SampleModel</code>
929 * <code>SampleModel</code> and location.
935 public static WritableRaster createWritableRaster(SampleModel sm,
945 * Creates a WritableRaster with the specified SampleModel and DataBuffer.
948 * @param sm the specified <code>SampleModel</code>
953 * <code>SampleModel</code>, <code>DataBuffer</code>, and
963 * @throws NullPointerException if either SampleModel or DataBuffer is null
965 public static WritableRaster createWritableRaster(SampleModel sm,
969 throw new NullPointerException("SampleModel and DataBuffer cannot be null");
1008 * Constructs a Raster with the given SampleModel. The Raster's
1010 * SampleModel. A DataBuffer large enough to describe the
1012 * @param sampleModel The SampleModel that specifies the layout
1021 protected Raster(SampleModel sampleModel,
1034 * Constructs a Raster with the given SampleModel and DataBuffer.
1036 * as the SampleModel. The DataBuffer is not initialized and must
1037 * be compatible with SampleModel.
1038 * @param sampleModel The SampleModel that specifies the layout
1048 protected Raster(SampleModel sampleModel,
1062 * Constructs a Raster with the given SampleModel, DataBuffer, and
1072 * @param sampleModel The SampleModel that specifies the layout
1076 * from SampleModel to Raster coordinates
1087 protected Raster(SampleModel sampleModel,
1095 throw new NullPointerException("SampleModel, dataBuffer, aRegion and " +
1136 * SampleModel to that of the Raster. To convert a pixel's X
1137 * coordinate from the Raster coordinate system to the SampleModel
1140 * Raster's SampleModel to that of the Raster.
1148 * SampleModel to that of the Raster. To convert a pixel's Y
1149 * coordinate from the Raster coordinate system to the SampleModel
1152 * Raster's SampleModel to that of the Raster.
1160 * the same SampleModel and a new initialized DataBuffer.
1170 * SampleModel, and a new initialized DataBuffer.
1184 SampleModel sm = sampleModel.createCompatibleSampleModel(w,h);
1192 * new SampleModel, and a new initialized DataBuffer.
1215 * new SampleModel, and a new initialized DataBuffer.
1237 * Create a Raster with the same size, SampleModel and DataBuffer
1246 * @return a new <code>Raster</code> with the same size, SampleModel,
1330 SampleModel subSampleModel;
1331 // Note: the SampleModel for the child Raster should have the same
1335 // they may be different than those of the SampleModel.
1400 * underlying SampleModel. Using these methods, pixels are transferred
1415 * underlying SampleModel. Using these methods, pixels are transferred
1433 /** Returns the SampleModel that describes the layout of the image data.
1434 * @return the <code>SampleModel</code> of this <code>Raster</code>.
1436 public SampleModel getSampleModel() {
1452 * @see java.awt.image.SampleModel#getDataElements(int, int, Object, DataBuffer)
1484 * @see java.awt.image.SampleModel#getDataElements(int, int, int, int, Object, DataBuffer)