org.deegree.rendering.r2d
Class Java2DRasterRenderer
java.lang.Object
org.deegree.rendering.r2d.Java2DRasterRenderer
- All Implemented Interfaces:
- RasterRenderer
public class Java2DRasterRenderer
- extends Object
- implements RasterRenderer
Java2DRasterRenderer
- Version:
- $Revision: 19497 $, $Date: 2009-09-11 $
- Author:
- Andrei Aiordachioaie, last edited by: $Author: aaiordachioaie $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Java2DRasterRenderer
public Java2DRasterRenderer(Graphics2D graphics,
int width,
int height,
Envelope bbox)
- Parameters:
graphics
- width
- height
- bbox
-
Java2DRasterRenderer
public Java2DRasterRenderer(Graphics2D graphics)
- Parameters:
graphics
-
render
public void render(RasterStyling styling,
AbstractRaster raster)
- Specified by:
render
in interface RasterRenderer
performHillShading
public AbstractRaster performHillShading(AbstractRaster raster,
RasterStyling style)
- Perform the hill-shading algorithm on a DEM raster. Based on algorithm presented at
http://edndoc.esri.com/arcobjects/9.2/net/shared/geoprocessing/spatial_analyst_tools/how_hillshade_works.htm
- Parameters:
raster
- Input raster, containing a DEM, with R rows and C columnsstyle
-
- Returns:
- a gray-scale raster (with bytes), with R-2 rows and C-2 columns
Copyright © 2011. All Rights Reserved.