|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.rendering.r3d.opengl.rendering.dem.texturing.StyledGeometryTTProvider
public class StyledGeometryTTProvider
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.
| Constructor Summary | |
|---|---|
StyledGeometryTTProvider(double[] offsetVector,
ICRS wpvsCRS,
FeatureStore featureStore,
Style style,
double maxUnitsPerPixel,
File cacheDir,
long cacheSize)
Use the given feature store to create a 'dataset' from a style. |
|
| Method Summary | |
|---|---|
ICRS |
getCRS()
|
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 |
|---|
public StyledGeometryTTProvider(double[] offsetVector,
ICRS wpvsCRS,
FeatureStore featureStore,
Style style,
double maxUnitsPerPixel,
File cacheDir,
long cacheSize)
throws IOException,
FeatureStoreException
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.
IOException
FeatureStoreException| Method Detail |
|---|
public TextureTile getTextureTile(TextureTileRequest request)
TextureTileProviderTextureTile best fitting the request.
getTextureTile in interface TextureTileProviderrequest - information about the request.
public double getNativeResolution()
TextureTileProvider
getNativeResolution in interface TextureTileProviderpublic boolean hasTextureForResolution(double unitsPerPixel)
hasTextureForResolution in interface TextureTileProviderpublic Envelope getEnvelope()
getEnvelope in interface TextureTileProviderTextureTileProviderpublic ICRS getCRS()
getCRS in interface TextureTileProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||