org.geotools.renderer.lite
Class GridCoverageRenderer

java.lang.Object
  extended byorg.geotools.renderer.lite.GridCoverageRenderer

public final class GridCoverageRenderer
extends java.lang.Object

A helper class for rendering GridCoverage objects. Still doesn't support grid coverage SLD stylers

Version:
$Id: GridCoverageRenderer.java 17703 2006-01-23 00:12:44Z desruisseaux $
Author:
Martin Desruisseaux, Andrea Aime
Task:
Add support for SLD stylers

Field Summary
protected static org.opengis.referencing.operation.CoordinateOperationFactory opFactory
           
 
Constructor Summary
GridCoverageRenderer(org.opengis.coverage.grid.GridCoverage gridCoverage, org.opengis.referencing.crs.CoordinateReferenceSystem destinationCRS)
          Creates a new GridCoverageRenderer object.
 
Method Summary
 void paint(java.awt.Graphics2D graphics)
          Paint this grid coverage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

opFactory

protected static final org.opengis.referencing.operation.CoordinateOperationFactory opFactory
Constructor Detail

GridCoverageRenderer

public GridCoverageRenderer(org.opengis.coverage.grid.GridCoverage gridCoverage,
                            org.opengis.referencing.crs.CoordinateReferenceSystem destinationCRS)
Creates a new GridCoverageRenderer object.

Parameters:
gridCoverage - DOCUMENT ME!
Method Detail

paint

public void paint(java.awt.Graphics2D graphics)
Paint this grid coverage. The caller must ensure that graphics has an affine transform mapping "real world" coordinates in the coordinate system given by #getCoordinateSystem.

Parameters:
graphics - the Graphics context in which to paint
Throws:
java.lang.UnsupportedOperationException - if the transformation from grid to coordinate system in the GridCoverage is not an AffineTransform


Copyright © GeoTools. All Rights Reserved.