Class BaseSubmosaicProducer
Object
BaseSubmosaicProducer
- All Implemented Interfaces:
SubmosaicProducer
- Direct Known Subclasses:
DefaultSubmosaicProducer
Basic submosaic producer. Accepts all granules and mosaics without any real special handling
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected final boolean
protected final List<Future<GranuleDescriptor.GranuleLoadingResult>>
The final lists for granules to be computed, splitted per dimension value.protected int
The number of collected granulesprotected boolean
protected Color
protected RasterLayerResponse
protected double[][]
-
Constructor Summary
ConstructorsConstructorDescriptionBaseSubmosaicProducer
(RasterLayerResponse rasterLayerResponse, boolean dryRun) -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(GranuleDescriptor granuleDescriptor) protected boolean
acceptGranule
(GranuleDescriptor granuleDescriptor) protected MosaicInputs
This methods collects the granules from their eventual multithreaded processing and turn them into aMosaicInputs
object.boolean
double[][]
boolean
hasAlpha()
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface SubmosaicProducer
init, isReprojecting
-
Field Details
-
granulesFutures
The final lists for granules to be computed, splitted per dimension value. -
dryRun
protected final boolean dryRun -
rasterLayerResponse
-
granulesNumber
protected int granulesNumberThe number of collected granules. * -
sourceThreshold
protected double[][] sourceThreshold -
hasAlpha
protected boolean hasAlpha -
doInputTransparency
protected boolean doInputTransparency -
inputTransparentColor
-
-
Constructor Details
-
BaseSubmosaicProducer
-
-
Method Details
-
collectGranules
This methods collects the granules from their eventual multithreaded processing and turn them into aMosaicInputs
object.- Returns:
- a
MosaicInputs
ready to be mosaicked. - Throws:
IOException
-
createMosaic
- Specified by:
createMosaic
in interfaceSubmosaicProducer
- Throws:
IOException
-
accept
- Specified by:
accept
in interfaceSubmosaicProducer
-
acceptGranule
-
doInputTransparency
public boolean doInputTransparency()- Specified by:
doInputTransparency
in interfaceSubmosaicProducer
-
getSourceThreshold
public double[][] getSourceThreshold()- Specified by:
getSourceThreshold
in interfaceSubmosaicProducer
-
hasAlpha
public boolean hasAlpha()- Specified by:
hasAlpha
in interfaceSubmosaicProducer
-