public class BaseSubmosaicProducer extends Object implements SubmosaicProducer
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
doInputTransparency |
protected boolean |
dryRun |
protected List<Future<GranuleDescriptor.GranuleLoadingResult>> |
granulesFutures
The final lists for granules to be computed, splitted per dimension value.
|
protected int |
granulesNumber
The number of collected granules
|
protected boolean |
hasAlpha |
protected Color |
inputTransparentColor |
protected RasterLayerResponse |
rasterLayerResponse |
protected double[][] |
sourceThreshold |
| Constructor and Description |
|---|
BaseSubmosaicProducer(RasterLayerResponse rasterLayerResponse,
boolean dryRun) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(GranuleDescriptor granuleDescriptor) |
protected boolean |
acceptGranule(GranuleDescriptor granuleDescriptor) |
protected MosaicInputs |
collectGranules()
This methods collects the granules from their eventual multithreaded processing and turn them
into a
MosaicInputs object. |
List<MosaicElement> |
createMosaic() |
boolean |
doInputTransparency() |
double[][] |
getSourceThreshold() |
boolean |
hasAlpha() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisReprojectingprotected final List<Future<GranuleDescriptor.GranuleLoadingResult>> granulesFutures
protected final boolean dryRun
protected RasterLayerResponse rasterLayerResponse
protected int granulesNumber
protected double[][] sourceThreshold
protected boolean hasAlpha
protected boolean doInputTransparency
protected Color inputTransparentColor
public BaseSubmosaicProducer(RasterLayerResponse rasterLayerResponse, boolean dryRun)
protected MosaicInputs collectGranules() throws IOException
MosaicInputs object.MosaicInputs ready to be mosaicked.IOExceptionpublic List<MosaicElement> createMosaic() throws IOException
createMosaic in interface SubmosaicProducerIOExceptionpublic boolean accept(GranuleDescriptor granuleDescriptor)
accept in interface SubmosaicProducerprotected boolean acceptGranule(GranuleDescriptor granuleDescriptor)
public boolean doInputTransparency()
doInputTransparency in interface SubmosaicProducerpublic double[][] getSourceThreshold()
getSourceThreshold in interface SubmosaicProducerpublic boolean hasAlpha()
hasAlpha in interface SubmosaicProducerCopyright © 1996–2019 Geotools. All rights reserved.