public class RandomIterFactory extends Object
RandomIter
,
WritableRandomIter
Modifier and Type | Method and Description |
---|---|
static javax.media.jai.iterator.RandomIter |
create(Raster ras,
Rectangle bounds,
boolean cachedTiles,
boolean arrayCalculation)
Constructs and returns an instance of RandomIter suitable for iterating over the given bounding rectangle within the given Raster source.
|
static javax.media.jai.iterator.RandomIter |
create(RenderedImage im,
Rectangle bounds,
boolean cachedTiles,
boolean arrayCalculation)
Constructs and returns an instance of RandomIter suitable for iterating over the given bounding rectangle within the given RenderedImage
source.
|
static javax.media.jai.iterator.WritableRandomIter |
createWritable(WritableRaster ras,
Rectangle bounds)
Constructs and returns an instance of WritableRandomIter suitable for iterating over the given bounding rectangle within the given
WritableRaster source.
|
static javax.media.jai.iterator.WritableRandomIter |
createWritable(WritableRenderedImage im,
Rectangle bounds)
Constructs and returns an instance of WritableRandomIter suitable for iterating over the given bounding rectangle within the given
WritableRenderedImage source.
|
public static javax.media.jai.iterator.RandomIter create(RenderedImage im, Rectangle bounds, boolean cachedTiles, boolean arrayCalculation)
im
- a read-only RenderedImage source.bounds
- the bounding Rectangle for the iterator, or null.cachedTiles
- flag indicating if tiles must be cached during iteration.arrayCalculation
- flag indicating if tile positions must be pre-calculated.public static javax.media.jai.iterator.RandomIter create(Raster ras, Rectangle bounds, boolean cachedTiles, boolean arrayCalculation)
ras
- a read-only Raster source.bounds
- the bounding Rectangle for the iterator, or null.cachedTiles
- flag indicating if tiles must be cached during iteration.arrayCalculation
- flag indicating if tile positions must be pre-calculated.public static javax.media.jai.iterator.WritableRandomIter createWritable(WritableRenderedImage im, Rectangle bounds)
im
- a WritableRenderedImage source.bounds
- the bounding Rectangle for the iterator, or null.public static javax.media.jai.iterator.WritableRandomIter createWritable(WritableRaster ras, Rectangle bounds)
ras
- a WritableRaster source.bounds
- the bounding Rectangle for the iterator, or null.Copyright © 2006–2016 GeoSolutions. All rights reserved.