org.deegree.services.wpvs.config
Class DEMDataset
java.lang.Object
org.deegree.services.wpvs.config.Dataset<TerrainRenderingManager>
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 $
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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.