org.geotools.coverage.grid
Class GridCoverage2D.Renderable

java.lang.Object
  extended byjavax.media.jai.PropertySourceImpl
      extended byorg.geotools.coverage.AbstractCoverage.Renderable
          extended byorg.geotools.coverage.grid.GridCoverage2D.Renderable
All Implemented Interfaces:
javax.media.jai.ImageFunction, javax.media.jai.PropertySource, java.awt.image.renderable.RenderableImage, java.io.Serializable
Enclosing class:
GridCoverage2D

protected class GridCoverage2D.Renderable
extends AbstractCoverage.Renderable

A view of a grid coverage as a renderable image. Renderable images allow interoperability with Java2D for a two-dimensional slice of a grid coverage.

Version:
$Id: GridCoverage2D.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
AbstractCoverage.getRenderableImage(int, int), Serialized Form
To Do:
Override AbstractCoverage.Renderable.createRendering(java.awt.image.renderable.RenderContext) and use the affine transform operation. Also uses the JAI's "Transpose" operation is x and y axis are interchanged.

Field Summary
 
Fields inherited from class org.geotools.coverage.AbstractCoverage.Renderable
coordinate, xAxis, yAxis
 
Fields inherited from class javax.media.jai.PropertySourceImpl
cachedPropertyNames, properties, propertySources
 
Fields inherited from interface java.awt.image.renderable.RenderableImage
HINTS_OBSERVED
 
Constructor Summary
GridCoverage2D.Renderable()
          Constructs a renderable image.
 
Method Summary
 java.awt.image.RenderedImage createDefaultRendering()
          Returns a rendered image with a default width and height in pixels.
 
Methods inherited from class org.geotools.coverage.AbstractCoverage.Renderable
createRenderContext, createRendering, createScaledRendering, getElements, getElements, getHeight, getMinX, getMinY, getNumElements, getSources, getWidth, isComplex, isDynamic
 
Methods inherited from class javax.media.jai.PropertySourceImpl
getProperties, getProperty, getPropertyClass, getPropertyNames, getPropertyNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.image.renderable.RenderableImage
getProperty, getPropertyNames
 

Constructor Detail

GridCoverage2D.Renderable

public GridCoverage2D.Renderable()
Constructs a renderable image.

Method Detail

createDefaultRendering

public java.awt.image.RenderedImage createDefaultRendering()
Returns a rendered image with a default width and height in pixels.

Specified by:
createDefaultRendering in interface java.awt.image.renderable.RenderableImage
Overrides:
createDefaultRendering in class AbstractCoverage.Renderable
Returns:
A rendered image containing the rendered data


Copyright © GeoTools. All Rights Reserved.