public class OperationConstDescriptor
extends javax.media.jai.OperationDescriptorImpl
OperationDescriptorImpl
describing the OperationConst operationModifier and Type | Field and Description |
---|---|
static int |
CONSTANT_INDEX |
static int |
DEST_NODATA_INDEX |
static int |
OPERATION_INDEX |
static int |
RANGE_INDEX |
static int |
ROI_INDEX |
Constructor and Description |
---|
OperationConstDescriptor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static javax.media.jai.RenderedOp |
create(RenderedImage source,
double[] constants,
AlgebraDescriptor.Operator op,
javax.media.jai.ROI roi,
Range noData,
double destinationNoData,
RenderingHints hints)
Executes the selected operation with a constant on the input image.
|
static javax.media.jai.RenderableOp |
createRenderable(RenderableImage source,
double[] constants,
AlgebraDescriptor.Operator op,
javax.media.jai.ROI roi,
Range noData,
double destinationNoData,
RenderingHints hints)
Executes the selected operation with a constant on the input image.
|
boolean |
isRenderableSupported()
Returns
true since renderable operation is supported. |
protected boolean |
validateParameters(String modeName,
ParameterBlock args,
StringBuffer msg) |
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, 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 static final int CONSTANT_INDEX
public boolean isRenderableSupported()
true
since renderable operation is supported.isRenderableSupported
in interface javax.media.jai.OperationDescriptor
isRenderableSupported
in class javax.media.jai.OperationDescriptorImpl
protected boolean validateParameters(String modeName, ParameterBlock args, StringBuffer msg)
validateParameters
in class javax.media.jai.OperationDescriptorImpl
public static javax.media.jai.RenderedOp create(RenderedImage source, double[] constants, AlgebraDescriptor.Operator op, javax.media.jai.ROI roi, Range noData, double destinationNoData, RenderingHints hints)
Creates a ParameterBlockJAI
from all supplied arguments except hints
and invokes
JAI.create(String,ParameterBlock,RenderingHints)
.
source
- RenderedImage
source.constants
- the constants array to apply to the sourceop
- operation to executeroi
- optional ROI objectoptional
- nodata range for checking nodatadestinationNoData
- value to set for destination NoDatahints
- The RenderingHints
to use. May be null
.RenderedOp
destination.JAI
,
ParameterBlockJAI
,
RenderedOp
public static javax.media.jai.RenderableOp createRenderable(RenderableImage source, double[] constants, AlgebraDescriptor.Operator op, javax.media.jai.ROI roi, Range noData, double destinationNoData, RenderingHints hints)
Creates a ParameterBlockJAI
from all supplied arguments except hints
and invokes
JAI.createRenderable(String,ParameterBlock,RenderingHints)
.
source
- RenderedImage
source.constants
- the constants array to apply to the sourceop
- operation to executeroi
- optional ROI objectoptional
- nodata range for checking nodatadestinationNoData
- value to set for destination NoDatahints
- The RenderingHints
to use. May be null
.RenderableOp
destination.JAI
,
ParameterBlockJAI
,
RenderableOp
Copyright © 2006–2015 GeoSolutions. All rights reserved.