public class AlgebraDescriptor
extends javax.media.jai.OperationDescriptorImpl
Modifier and Type | Class and Description |
---|---|
static class |
AlgebraDescriptor.Operator |
Modifier and Type | Field and Description |
---|---|
static int |
DEST_NODATA_INDEX |
static int |
OPERATION_INDEX |
static int |
RANGE_INDEX |
static int |
ROI_INDEX |
Constructor and Description |
---|
AlgebraDescriptor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static javax.media.jai.RenderedOp |
create(AlgebraDescriptor.Operator op,
javax.media.jai.ROI roi,
Range noData,
double destinationNoData,
RenderingHints hints,
RenderedImage... sources)
Executes the selected operation on an image array.
|
static javax.media.jai.RenderableOp |
createRenderable(AlgebraDescriptor.Operator op,
javax.media.jai.ROI roi,
Range noData,
double destinationNoData,
RenderingHints hints,
RenderableImage... sources)
Executes the selected operation on an image array.
|
boolean |
isRenderableSupported()
Returns
true since renderable operation is supported. |
arePropertiesSupported, getDefaultSourceClass, getDestClass, getDestClass, getInvalidRegion, getName, getNumParameters, getNumSources, getParamClasses, getParamDefaults, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getParamNames, getPropertyGenerators, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources
public static final int OPERATION_INDEX
public static final int ROI_INDEX
public static final int RANGE_INDEX
public static final int DEST_NODATA_INDEX
public boolean isRenderableSupported()
true
since renderable operation is supported.isRenderableSupported
in interface javax.media.jai.OperationDescriptor
isRenderableSupported
in class javax.media.jai.OperationDescriptorImpl
public static javax.media.jai.RenderedOp create(AlgebraDescriptor.Operator op, javax.media.jai.ROI roi, Range noData, double destinationNoData, RenderingHints hints, RenderedImage... sources)
Creates a ParameterBlockJAI
from all supplied arguments except hints
and invokes
JAI.create(String,ParameterBlock,RenderingHints)
.
op
- operation to executeroi
- optional ROI objectoptional
- nodata range for checking nodatadestinationNoData
- value to set for destination NoDatasources
- RenderedImage
sources.hints
- The RenderingHints
to use. May be null
.RenderedOp
destination.IllegalArgumentException
- if source
are 0
.JAI
,
ParameterBlockJAI
,
RenderedOp
public static javax.media.jai.RenderableOp createRenderable(AlgebraDescriptor.Operator op, javax.media.jai.ROI roi, Range noData, double destinationNoData, RenderingHints hints, RenderableImage... sources)
Creates a ParameterBlockJAI
from all supplied arguments except hints
and invokes
JAI.createRenderable(String,ParameterBlock,RenderingHints)
.
op
- operation to executeroi
- optional ROI objectoptional
- nodata range for checking nodatadestinationNoData
- value to set for destination NoDatasources
- RenderableImage
sources.hints
- The RenderingHints
to use. May be null
.RenderableOp
destination.IllegalArgumentException
- if source
are 0
.JAI
,
ParameterBlockJAI
,
RenderableOp
Copyright © 2006–2017 GeoSolutions. All rights reserved.