org.deegree.services.wpvs.config
Class DEMDataset
java.lang.Object
org.deegree.services.wpvs.config.Dataset<org.deegree.rendering.r3d.opengl.rendering.dem.manager.TerrainRenderingManager>
org.deegree.services.wpvs.config.DEMDataset
public class DEMDataset
- extends Dataset<org.deegree.rendering.r3d.opengl.rendering.dem.manager.TerrainRenderingManager>
The DemDatasetWrapper
class TODO add class documentation here.
- Version:
- $Revision: 24672 $, $Date: 2010-06-01 19:15:22 +0200 (Di, 01. Jun 2010) $
- Author:
- Rutger Bezema, last edited by: $Author: mschneider $
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 |
org.deegree.geometry.Envelope |
fillFromDatasetDefinitions(org.deegree.geometry.Envelope sceneEnvelope,
double[] toLocalCRS,
org.deegree.commons.xml.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 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 org.deegree.geometry.Envelope fillFromDatasetDefinitions(org.deegree.geometry.Envelope sceneEnvelope,
double[] toLocalCRS,
org.deegree.commons.xml.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<org.deegree.rendering.r3d.opengl.rendering.dem.manager.TerrainRenderingManager>
- Parameters:
sceneEnvelope
- toLocalCRS
- configAdapter
- dsd
-
- Returns:
- the merged scene envelope
Copyright © 2011. All Rights Reserved.