it.geosolutions.jaiext.affine
Class AffineCRIF

java.lang.Object
  extended by javax.media.jai.CRIFImpl
      extended by it.geosolutions.jaiext.affine.AffineCRIF
All Implemented Interfaces:
ContextualRenderedImageFactory, RenderedImageFactory

public class AffineCRIF
extends javax.media.jai.CRIFImpl

Since:
EA4
See Also:
AffineOpimage, ScaleOpImage

Field Summary
 
Fields inherited from class javax.media.jai.CRIFImpl
operationName
 
Constructor Summary
AffineCRIF()
          Constructor.
 
Method Summary
 RenderedImage create(ParameterBlock paramBlock, RenderingHints renderHints)
          Creates an affine operation as an instance of AffineOpImage.
 RenderedImage create(RenderContext renderContext, ParameterBlock paramBlock)
          Creates a new instance of AffineOpImage in the renderable layer.
 Rectangle2D getBounds2D(ParameterBlock paramBlock)
          Gets the bounding box for the output of AffineOpImage.
 RenderContext mapRenderContext(int i, RenderContext renderContext, ParameterBlock paramBlock, RenderableImage image)
          Maps the output RenderContext into the RenderContext for the ith source.
 
Methods inherited from class javax.media.jai.CRIFImpl
getProperty, getPropertyNames, isDynamic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AffineCRIF

public AffineCRIF()
Constructor.

Method Detail

create

public RenderedImage create(ParameterBlock paramBlock,
                            RenderingHints renderHints)
Creates an affine operation as an instance of AffineOpImage.

Specified by:
create in interface RenderedImageFactory
Specified by:
create in class javax.media.jai.CRIFImpl

create

public RenderedImage create(RenderContext renderContext,
                            ParameterBlock paramBlock)
Creates a new instance of AffineOpImage in the renderable layer. This method satisfies the implementation of CRIF.

Specified by:
create in interface ContextualRenderedImageFactory
Overrides:
create in class javax.media.jai.CRIFImpl

mapRenderContext

public RenderContext mapRenderContext(int i,
                                      RenderContext renderContext,
                                      ParameterBlock paramBlock,
                                      RenderableImage image)
Maps the output RenderContext into the RenderContext for the ith source. This method satisfies the implementation of CRIF.

Specified by:
mapRenderContext in interface ContextualRenderedImageFactory
Overrides:
mapRenderContext in class javax.media.jai.CRIFImpl
Parameters:
i - The index of the source image.
renderContext - The renderContext being applied to the operation.
paramBlock - The ParameterBlock containing the sources and the translation factors.
image - The RenderableImageOp from which this method was called.

getBounds2D

public Rectangle2D getBounds2D(ParameterBlock paramBlock)
Gets the bounding box for the output of AffineOpImage. This method satisfies the implementation of CRIF.

Specified by:
getBounds2D in interface ContextualRenderedImageFactory
Overrides:
getBounds2D in class javax.media.jai.CRIFImpl


Copyright © 2006–2015 GeoSolutions. All rights reserved.