|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.jai.OperationDescriptorImpl
it.geosolutions.jaiext.crop.CropDescriptor
public class CropDescriptor
Describes the "Crop" operation which performs a crop on an image, like the standard JAI Crop, but does so respecting the tile scheduler and tile cache specified in the rendering hints
Field Summary |
---|
Fields inherited from class javax.media.jai.OperationDescriptorImpl |
---|
resources, sourceNames, supportedModes |
Fields inherited from interface javax.media.jai.OperationDescriptor |
---|
NO_PARAMETER_DEFAULT |
Constructor Summary | |
---|---|
CropDescriptor()
|
Method Summary | |
---|---|
static javax.media.jai.RenderedOp |
create(RenderedImage source0,
Float x,
Float y,
Float width,
Float height,
javax.media.jai.ROI roi,
Range noData,
double[] destNoData,
RenderingHints hints)
Performs cropping to a specified bounding box. |
static void |
register()
Manually registers the operation in the registry in case it's not already there |
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 |
Constructor Detail |
---|
public CropDescriptor()
Method Detail |
---|
public static void register()
public static javax.media.jai.RenderedOp create(RenderedImage source0, Float x, Float y, Float width, Float height, javax.media.jai.ROI roi, Range noData, double[] destNoData, RenderingHints hints)
source
- RenderedImage
source 0.x
- The x origin of the cropping operation.y
- The y origin of the cropping operation.width
- The width of the cropping operation.height
- The height of the cropping operation.roi
- Eventual ROI object used for performing the crop operation.noData
- Eventual No Data Range object used for checking if the No Data are present.hints
- The RenderingHints
to use, may be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |