org.deegree.services.wpvs.config
Class DEMDataset

java.lang.Object
  extended by org.deegree.services.wpvs.config.Dataset<TerrainRenderingManager>
      extended by org.deegree.services.wpvs.config.DEMDataset

public class DEMDataset
extends Dataset<TerrainRenderingManager>

The DemDatasetWrapper class TODO add class documentation here.

Version:
$Revision: 28722 $, $Date: 2010-12-10 15:25:20 +0100 (Fri, 10 Dec 2010) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Field Summary
 
Fields inherited from class org.deegree.services.wpvs.config.Dataset
geomFac
 
Constructor Summary
DEMDataset(int numberOfDEMFragmentsCached, int directMeshfragmentPoolSize, float[] ambientColor, float[] diffuseColor, float[] specularColor, float shininess)
           
 
Method Summary
 Envelope fillFromDatasetDefinitions(Envelope sceneEnvelope, double[] toLocalCRS, XMLAdapter configAdapter, DatasetDefinitions dsd)
          Analyzes the ElevationDataset from the DatasetDefinitions, fills the renderers with data from the defined modelbackends and builds up a the constraint vectors for retrieval of the appropriate renderers.
 
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

DEMDataset

public DEMDataset(int numberOfDEMFragmentsCached,
                  int directMeshfragmentPoolSize,
                  float[] ambientColor,
                  float[] diffuseColor,
                  float[] specularColor,
                  float shininess)
Parameters:
numberOfDEMFragmentsCached - defines the number of dem fragments to be cached on the gpu.
directMeshfragmentPoolSize - the size (in MB) of the pool used for allocating direct byte buffers for reading mesh fragments, used in the MeshFragmentDataReader.
ambientColor -
diffuseColor -
specularColor -
shininess -
Method Detail

fillFromDatasetDefinitions

public Envelope fillFromDatasetDefinitions(Envelope sceneEnvelope,
                                           double[] toLocalCRS,
                                           XMLAdapter configAdapter,
                                           DatasetDefinitions dsd)
Analyzes the ElevationDataset from the DatasetDefinitions, fills the renderers with data from the defined modelbackends and builds up a the constraint vectors for retrieval of the appropriate renderers.

Specified by:
fillFromDatasetDefinitions in class Dataset<TerrainRenderingManager>
Parameters:
sceneEnvelope -
toLocalCRS -
configAdapter -
dsd -
Returns:
the merged scene envelope


Copyright © 2011. All Rights Reserved.