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

org.deegree.rendering.r3d.opengl.rendering.dem.manager
Class TextureTileManager

java.lang.Object
  extended by org.deegree.rendering.r3d.opengl.rendering.dem.manager.TextureTileManager

public class TextureTileManager
extends Object

Manages the fetching (and caching) of TextureTile instances from TextureTileProviders.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Constructor Summary
TextureTileManager(TextureTileProvider[] providers, int maxCached)
          Construct a tile manager for the given providers.
 
Method Summary
 TextureTile getMachingTile(TextureTileRequest request)
          Return the bestfitting tile matching the given request
 double getMatchingResolution(double unitsPerPixel)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextureTileManager

public TextureTileManager(TextureTileProvider[] providers,
                          int maxCached)
Construct a tile manager for the given providers.

Parameters:
providers -
maxCached -
Method Detail

getMachingTile

public TextureTile getMachingTile(TextureTileRequest request)
Return the bestfitting tile matching the given request

Parameters:
request -
Returns:
the Texturetile which fits the given request best.

getMatchingResolution

public double getMatchingResolution(double unitsPerPixel)
Parameters:
unitsPerPixel -
Returns:
the native resolution of the configured TextureProvider, based on the meters per pixel.

toString

public String toString()
Overrides:
toString in class Object

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

]]>