org.deegree.rendering.r3d.opengl.rendering.dem.texturing
Class StyledGeometryTTProvider
java.lang.Object
org.deegree.rendering.r3d.opengl.rendering.dem.texturing.StyledGeometryTTProvider
- All Implemented Interfaces:
- TextureTileProvider
public class StyledGeometryTTProvider
- extends Object
- implements TextureTileProvider
Provides a texture created from geometries supplied by a Featurstore and filled with a color or fillpattern, which
columns are the geometries and which columns define the color/texture is defined by SE-Style file. Texture rendering
is done by using the Java2DRenderer.
- Version:
- $Revision: 22276 $, $Date: 2010-01-27 18:09:31 +0100 (Mi, 27 Jan 2010) $
- Author:
- Rutger Bezema, last edited by: $Author: rbezema $
|
Field Summary |
(package private) static org.slf4j.Logger |
LOG
|
|
Constructor Summary |
StyledGeometryTTProvider(double[] offsetVector,
CRS wpvsCRS,
FeatureStore featureStore,
Style style,
double maxUnitsPerPixel,
File cacheDir,
long cacheSize)
Use the given feature store to create a 'dataset' from a style. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
static org.slf4j.Logger LOG
StyledGeometryTTProvider
public StyledGeometryTTProvider(double[] offsetVector,
CRS wpvsCRS,
FeatureStore featureStore,
Style style,
double maxUnitsPerPixel,
File cacheDir,
long cacheSize)
throws IOException
- Use the given feature store to create a 'dataset' from a style.
- Parameters:
offsetVector - translation vector of the WPVSwpvsCRS - crs of the WPVSfeatureStore - to get the features / geometries from.style - used to evaluate the given features.maxUnitsPerPixel - for which this provider will become active.cacheDir - to cache texturescacheSize - size of the cache in bytes.
- Throws:
IOException
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.
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.
getEnvelope
public Envelope getEnvelope()
- Specified by:
getEnvelope in interface TextureTileProvider
- Returns:
- the bounding box for this
TextureTileProvider
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>