org.deegree.services.wpvs.config
Class DEMTextureDataset
java.lang.Object
org.deegree.services.wpvs.config.Dataset<org.deegree.rendering.r3d.opengl.rendering.dem.manager.TextureManager>
org.deegree.services.wpvs.config.DEMTextureDataset
public class DEMTextureDataset
- extends Dataset<org.deegree.rendering.r3d.opengl.rendering.dem.manager.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: 25689 $, $Date: 2010-08-04 17:14:16 +0200 (Mi, 04. Aug 2010) $
- Author:
- Rutger Bezema, last edited by: $Author: aschmitz $
| Fields inherited from class org.deegree.services.wpvs.config.Dataset |
geomFac |
|
Constructor Summary |
DEMTextureDataset(org.deegree.commons.utils.nio.DirectByteBufferPool textureByteBufferPool,
int maxTexturesInGPU,
int maxCachedTextureTiles,
org.deegree.commons.config.DeegreeWorkspace workspace)
|
|
Method Summary |
org.deegree.geometry.Envelope |
fillFromDatasetDefinitions(org.deegree.geometry.Envelope sceneEnvelope,
double[] toLocalCRS,
org.deegree.commons.xml.XMLAdapter configAdapter,
DatasetDefinitions dsd)
Fill the wrapper with the values from the given dataset definition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEMTextureDataset
public DEMTextureDataset(org.deegree.commons.utils.nio.DirectByteBufferPool textureByteBufferPool,
int maxTexturesInGPU,
int maxCachedTextureTiles,
org.deegree.commons.config.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 org.deegree.geometry.Envelope fillFromDatasetDefinitions(org.deegree.geometry.Envelope sceneEnvelope,
double[] toLocalCRS,
org.deegree.commons.xml.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<org.deegree.rendering.r3d.opengl.rendering.dem.manager.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.