Package | Description |
---|---|
org.esa.snap.core.gpf |
SNAP's Graph Processing Framework GPF used for developing and executing
raster data operators and graphs of such operators.
|
org.esa.snap.core.gpf.common | |
org.esa.snap.core.gpf.common.reproject | |
org.esa.snap.core.gpf.common.resample | |
org.esa.snap.core.gpf.descriptor | |
org.esa.snap.core.gpf.graph | |
org.esa.snap.core.gpf.pointop |
Provides special support for raster data operations that transforms each source pixel
into a corresponding target pixel at the same position.
|
Modifier and Type | Class and Description |
---|---|
class |
OperatorCancelException |
Modifier and Type | Method and Description |
---|---|
protected void |
Operator.checkForCancellation()
Checks for cancellation of the current processing request.
|
void |
Operator.computeTile(Band targetBand,
Tile targetTile,
ProgressMonitor pm)
Called by the framework in order to compute a tile for the given target band.
|
void |
Operator.computeTileStack(Map<Band,Tile> targetTiles,
Rectangle targetRectangle,
ProgressMonitor pm)
Called by the framework in order to compute the stack of tiles for the given target bands.
|
Operator |
OperatorSpi.createOperator()
Creates an operator instance with no arguments.
|
Operator |
OperatorSpi.createOperator(Map<String,Object> parameters,
Map<String,Product> sourceProducts)
Creates an operator instance for the given source products and processing parameters.
|
Operator |
OperatorSpi.createOperator(Map<String,Object> parameters,
Map<String,Product> sourceProducts,
RenderingHints renderingHints)
Creates an operator instance for the given source products and processing parameters.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product... sourceProducts)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product sourceProduct)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product[] sourceProducts,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product sourceProduct,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
void |
Operator.doExecute(ProgressMonitor pm)
Executes the operator.
|
protected void |
Operator.ensureSceneGeoCoding(Product... products)
Ensures that the given source products all have a scene geo-coding.
|
protected Dimension |
Operator.ensureSingleRasterSize(Product... products)
Ensures that the given source products only contain raster data nodes having the same size in pixels and that all
products have the same scene raster size.
|
protected Dimension |
Operator.ensureSingleRasterSize(RasterDataNode... rasterDataNodes)
Ensures that the given raster data nodes only contain raster data nodes having the same size in pixels.
|
Tile |
Operator.getSourceTile(RasterDataNode rasterDataNode,
Rectangle region)
Gets a
Tile for a given band and image region. |
Tile |
Operator.getSourceTile(RasterDataNode rasterDataNode,
Rectangle region,
javax.media.jai.BorderExtender borderExtender)
Gets a
Tile for a given band and image region. |
Product |
Operator.getTargetProduct()
Gets the target product for the operator.
|
Object |
Operator.getTargetProperty(String name)
Gets a target property of the operator.
|
abstract void |
Operator.initialize()
Initializes this operator and sets the one and only target product.
|
Modifier and Type | Method and Description |
---|---|
void |
WriteRGBOp.computeTile(Band band,
Tile targetTile,
ProgressMonitor pm) |
void |
WriteOp.computeTile(Band targetBand,
Tile targetTile,
ProgressMonitor pm) |
void |
SubsetOp.computeTile(Band band,
Tile targetTile,
ProgressMonitor pm) |
void |
ReadOp.computeTile(Band band,
Tile targetTile,
ProgressMonitor pm) |
void |
MergeOp.computeTile(Band band,
Tile targetTile,
ProgressMonitor pm) |
void |
JaiOp.computeTile(Band targetBand,
Tile targetTile,
ProgressMonitor pm) |
void |
BandMathsOp.computeTile(Band band,
Tile targetTile,
ProgressMonitor pm) |
static Map<String,Object> |
MosaicOp.getOperatorParameters(Product product) |
void |
WriteRGBOp.initialize() |
void |
WriteOp.initialize() |
void |
SubsetOp.initialize() |
void |
ReadOp.initialize() |
void |
ProductSetReaderOp.initialize()
Initializes this operator and sets the one and only target product.
|
void |
PassThroughOp.initialize() |
void |
MosaicOp.initialize() |
void |
MergeOp.initialize() |
void |
JaiOp.initialize() |
void |
ImportVectorOp.initialize() |
void |
BandMathsOp.initialize() |
Modifier and Type | Method and Description |
---|---|
void |
ReprojectionOp.initialize() |
Modifier and Type | Method and Description |
---|---|
void |
ResamplingOp.initialize() |
Modifier and Type | Method and Description |
---|---|
static ToolAdapterOperatorDescriptor |
ToolAdapterOperatorDescriptor.fromXml(File file,
ClassLoader classLoader)
Loads an operator descriptor from an XML document.
|
static DefaultOperatorDescriptor |
DefaultOperatorDescriptor.fromXml(File file,
ClassLoader classLoader)
Loads an operator descriptor from an XML document.
|
static ToolAdapterOperatorDescriptor |
ToolAdapterOperatorDescriptor.fromXml(Reader reader,
String resourceName,
ClassLoader classLoader)
Loads an operator descriptor from an XML document.
|
static DefaultOperatorDescriptor |
DefaultOperatorDescriptor.fromXml(Reader reader,
String resourceName,
ClassLoader classLoader)
Loads an operator descriptor from an XML document.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphOp.initialize() |
Modifier and Type | Method and Description |
---|---|
protected void |
PointOperator.checkRasterSize()
Checks if all source products share the same raster size, otherwise throws an exception.
|
void |
SampleOperator.computeTile(Band targetBand,
Tile targetTile,
ProgressMonitor pm)
Overridden to call the
computeSample method for every
pixel in the given tile's rectangle. |
void |
PixelOperator.computeTileStack(Map<Band,Tile> targetTileStack,
Rectangle targetRectangle,
ProgressMonitor pm) |
protected abstract void |
PointOperator.configureSourceSamples(SourceSampleConfigurer sampleConfigurer)
Configures all source samples that this operator requires for the computation of target samples.
|
protected abstract void |
PointOperator.configureTargetSamples(TargetSampleConfigurer sampleConfigurer)
Configures all target samples computed by this operator.
|
protected Product |
PointOperator.createTargetProduct()
Creates the target product instance.
|
void |
PointOperator.initialize()
Configures this
PointOperator by performing a number of initialisation steps in the given order:
PointOperator.prepareInputs()
PointOperator.createTargetProduct()
PointOperator.configureTargetProduct(ProductConfigurer)
PointOperator.configureSourceSamples(SourceSampleConfigurer)
PointOperator.configureTargetSamples(TargetSampleConfigurer)
This method cannot be overridden by intention (template method). |
protected void |
PointOperator.prepareInputs()
Prepares the inputs for this operator.
|
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.