deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Constructor Summary
RasterAPITextureTileProvider(File file, double res)
          Read a texture from a file and load it using the raster api.
 
Method Summary
 Envelope getEnvelope()
           
 double getNativeResolution()
          Returns the provided resolution (in world units per pixel).
 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(File file,
                                    double res)
                             throws IOException
Read a texture from a file and load it using the raster api.

Parameters:
file -
res -
Throws:
IOException
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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>