org.deegree.services.wpvs.config
Class DEMTextureDataset

java.lang.Object
  extended by org.deegree.services.wpvs.config.Dataset<TextureManager>
      extended by 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 $

Field Summary
 
Fields inherited from class org.deegree.services.wpvs.config.Dataset
geomFac
 
Constructor Summary
DEMTextureDataset(DirectByteBufferPool textureByteBufferPool, int maxTexturesInGPU, int maxCachedTextureTiles, DeegreeWorkspace workspace)
           
 
Method Summary
 Envelope fillFromDatasetDefinitions(Envelope sceneEnvelope, double[] toLocalCRS, XMLAdapter configAdapter, DatasetDefinitions dsd)
          Fill the wrapper with the values from the given dataset definition.
 
Methods inherited from class org.deegree.services.wpvs.config.Dataset
addConstraint, clarifyMaxPixelError, datasetTitles, getAllDatasourceObjects, getMatchingDatasourceObjects, isUnAmbiguous, resolve, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DEMTextureDataset

public DEMTextureDataset(DirectByteBufferPool textureByteBufferPool,
                         int maxTexturesInGPU,
                         int maxCachedTextureTiles,
                         DeegreeWorkspace workspace)
Parameters:
textureByteBufferPool -
maxTexturesInGPU - the number of textures in gpu cache
maxCachedTextureTiles - the number of texture tiles in cache.
workspace - the workspace to be used to load data
Method Detail

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 configured
configAdapter - to resolve urls
dsd - containing the datasets.
Returns:
the merged scene envelope


Copyright © 2011. All Rights Reserved.