org.deegree.services.wpvs.config
Class DEMTextureDataset
java.lang.Object
org.deegree.services.wpvs.config.Dataset<TextureManager>
org.deegree.services.wpvs.config.DEMTextureDataset
public class DEMTextureDataset
- extends Dataset<TextureManager>
The TextureDatasetWrapper
extracts data from jaxb configuration elements and creates texture managers,
from them. Following hierarchy is used: a TextureManager
holds a TextureTileManager
which can hold
one or more TextureTileProvider
.
- Version:
- $Revision: 31400 $, $Date: 2011-08-02 10:11:48 +0200 (Tue, 02 Aug 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: aschmitz $
Fields inherited from class org.deegree.services.wpvs.config.Dataset |
geomFac |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEMTextureDataset
public DEMTextureDataset(DirectByteBufferPool textureByteBufferPool,
int maxTexturesInGPU,
int maxCachedTextureTiles,
DeegreeWorkspace workspace)
- Parameters:
textureByteBufferPool
- maxTexturesInGPU
- the number of textures in gpu cachemaxCachedTextureTiles
- the number of texture tiles in cache.workspace
- the workspace to be used to load data
fillFromDatasetDefinitions
public Envelope fillFromDatasetDefinitions(Envelope sceneEnvelope,
double[] toLocalCRS,
XMLAdapter configAdapter,
DatasetDefinitions dsd)
- Description copied from class:
Dataset
- Fill the wrapper with the values from the given dataset definition.
- Specified by:
fillFromDatasetDefinitions
in class Dataset<TextureManager>
- Parameters:
sceneEnvelope
- whic should be enlarged for all configured datasets, it is 3D!! in real world coordinates.toLocalCRS
- which was configuredconfigAdapter
- to resolve urlsdsd
- containing the datasets.
- Returns:
- the merged scene envelope
Copyright © 2011. All Rights Reserved.