org.geotools.gc
Interface GridCoverage.Remote

All Superinterfaces:
org.opengis.cv.CV_Coverage, org.opengis.gc.GC_GridCoverage, java.rmi.Remote
All Known Implementing Classes:
GridCoverage.Export
Enclosing interface:
GridCoverage

public static interface GridCoverage.Remote
extends org.opengis.gc.GC_GridCoverage

Interface for OpenGIS's GC_GridCoverage capable to produce a RenderedImage. This interface can be used in order to export some GridCoverage functionalities over the network using RMI (Remote Method Invocation). Socket connection are used for sending the rendered image through the network.

Version:
$Id: GridCoverage.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux

Method Summary
 javax.media.jai.Interpolation getInterpolation()
          Returns the interpolation used for evaluate(...)
 java.awt.image.RenderedImage getRenderedImage()
          Returns the underlying RenderedImage for this GC_GridCoverage.
 
Methods inherited from interface org.opengis.gc.GC_GridCoverage
getDataBlockAsBoolean, getDataBlockAsByte, getDataBlockAsInteger, getGridGeometry, getGridPacking, getNumOverviews, getOptimalDataBlockSizes, getOverview, getOverviewGridGeometry, getPackedDataBlock, getValueBlockAsDouble, isDataEditable, setDataBlockAsBoolean, setDataBlockAsByte, setDataBlockAsDouble, setDataBlockAsInteger, setPackedDataBlock
 
Methods inherited from interface org.opengis.cv.CV_Coverage
evaluate, evaluateAsBoolean, evaluateAsByte, evaluateAsDouble, evaluateAsInteger, getCoordinateSystem, getDimensionNames, getEnvelope, getMetadataNames, getMetadataValue, getNumSampleDimensions, getNumSources, getSampleDimension, getSource
 

Method Detail

getRenderedImage

public java.awt.image.RenderedImage getRenderedImage()
                                              throws java.io.IOException
Returns the underlying RenderedImage for this GC_GridCoverage. This method usually returns an instance of SerializableRenderedImage, which is appropriate for use through a RMI API.

Throws:
java.rmi.RemoteException - if the remote connection failed.
java.io.NotSerializableException - if the image is not serializable.
java.io.IOException

getInterpolation

public javax.media.jai.Interpolation getInterpolation()
                                               throws java.rmi.RemoteException
Returns the interpolation used for evaluate(...) methods.

Returns:
The interpolation.
Throws:
java.rmi.RemoteException - if the remote connection failed.


Copyright © GeoTools. All Rights Reserved.