org.deegree.rendering.r3d.opengl.rendering.dem.texturing
Class RasterAPITextureTileProvider

java.lang.Object
  extended by org.deegree.rendering.r3d.opengl.rendering.dem.texturing.RasterAPITextureTileProvider
All Implemented Interfaces:
TextureTileProvider

public class RasterAPITextureTileProvider
extends Object
implements TextureTileProvider

The class TODO add class documentation here.

Version:
$Revision: 30126 $, $Date: 2011-03-22 11:11:00 +0100 (Tue, 22 Mar 2011) $
Author:
Markus Schneider, last edited by: $Author: aschmitz $

Constructor Summary
RasterAPITextureTileProvider(AbstractRaster raster)
          Read a texture from a file and load it using the raster api.
 
Method Summary
 ICRS getCRS()
           
 Envelope getEnvelope()
           
 double getNativeResolution()
          Returns the provided resolution (in world units per pixel).
 RasterGeoReference getRasterReference()
           
 TextureTile getTextureTile(TextureTileRequest request)
          Get a TextureTile best fitting the request.
 boolean hasTextureForResolution(double unitsPerPixel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterAPITextureTileProvider

public RasterAPITextureTileProvider(AbstractRaster raster)
Read a texture from a file and load it using the raster api.

Parameters:
raster - the raster api raster.
Method Detail

getNativeResolution

public double getNativeResolution()
Description copied from interface: TextureTileProvider
Returns the provided resolution (in world units per pixel).

Specified by:
getNativeResolution in interface TextureTileProvider
Returns:
the provided resolution

hasTextureForResolution

public boolean hasTextureForResolution(double unitsPerPixel)
Specified by:
hasTextureForResolution in interface TextureTileProvider
Returns:
true if a the provider could deliver a texture for the given resolution.

getTextureTile

public TextureTile getTextureTile(TextureTileRequest request)
Description copied from interface: TextureTileProvider
Get a TextureTile best fitting the request.

Specified by:
getTextureTile in interface TextureTileProvider
Parameters:
request - information about the request.
Returns:
a texture tile.

getEnvelope

public Envelope getEnvelope()
Specified by:
getEnvelope in interface TextureTileProvider
Returns:
the bounding box for this TextureTileProvider

getRasterReference

public RasterGeoReference getRasterReference()
Returns:
the raster reference of the texture

getCRS

public ICRS getCRS()
Specified by:
getCRS in interface TextureTileProvider
Returns:
the crs of the texture tile provider


Copyright © 2011. All Rights Reserved.