it.geosolutions.jaiext.buffer
Class BufferDescriptor

java.lang.Object
  extended by javax.media.jai.OperationDescriptorImpl
      extended by it.geosolutions.jaiext.buffer.BufferDescriptor
All Implemented Interfaces:
Serializable, javax.media.jai.OperationDescriptor, javax.media.jai.RegistryElementDescriptor

public class BufferDescriptor
extends javax.media.jai.OperationDescriptorImpl

See Also:
Serialized Form

Field Summary
static javax.media.jai.BorderExtender DEFAULT_EXTENDER
           
 
Fields inherited from class javax.media.jai.OperationDescriptorImpl
sourceNames, supportedModes
 
Fields inherited from interface javax.media.jai.OperationDescriptor
NO_PARAMETER_DEFAULT
 
Constructor Summary
BufferDescriptor()
          Constructor.
 
Method Summary
static javax.media.jai.RenderedOp create(RenderedImage source, javax.media.jai.BorderExtender extender, int leftPad, int rightPad, int topPad, int bottomPad, List<javax.media.jai.ROI> rois, Range nodata, double destinationNoData, Double valueToCount, Integer type, double pixelArea, RenderingHints hints)
          Calculates the buffer on an Image Creates a ParameterBlockJAI from all supplied arguments except hints and invokes JAI.create(String,ParameterBlock,RenderingHints).
 
Methods inherited from class javax.media.jai.OperationDescriptorImpl
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, isRenderableSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EXTENDER

public static final javax.media.jai.BorderExtender DEFAULT_EXTENDER
Constructor Detail

BufferDescriptor

public BufferDescriptor()
Constructor.

Method Detail

create

public static javax.media.jai.RenderedOp create(RenderedImage source,
                                                javax.media.jai.BorderExtender extender,
                                                int leftPad,
                                                int rightPad,
                                                int topPad,
                                                int bottomPad,
                                                List<javax.media.jai.ROI> rois,
                                                Range nodata,
                                                double destinationNoData,
                                                Double valueToCount,
                                                Integer type,
                                                double pixelArea,
                                                RenderingHints hints)
Calculates the buffer on an Image

Creates a ParameterBlockJAI from all supplied arguments except hints and invokes JAI.create(String,ParameterBlock,RenderingHints).

Parameters:
source0 - RenderedImage source 0.
warp - The warp object.
interpolation - The interpolation method. May be null.
backgroundValues - The user-specified background values. May be null.
sourceROI - ROI object used in calculations. May be null.
noData - NoData Range used in calculations. May be null.
hints - The RenderingHints to use. May be null.
Returns:
The RenderedOp destination.
Throws:
IllegalArgumentException - if source0 is null.
IllegalArgumentException - if warp is null.
See Also:
JAI, ParameterBlockJAI, RenderedOp


Copyright © 2006–2015 GeoSolutions. All rights reserved.