deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wpvs.configuration
Class WPVSConfiguration

java.lang.Object
  extended by org.deegree.ogcwebservices.getcapabilities.OGCCapabilities
      extended by org.deegree.owscommon.OWSCommonCapabilities
          extended by org.deegree.ogcwebservices.wpvs.capabilities.WPVSCapabilities
              extended by org.deegree.ogcwebservices.wpvs.configuration.WPVSConfiguration
All Implemented Interfaces:
Serializable

public class WPVSConfiguration
extends WPVSCapabilities

This class represents a WPVSConfiguration object.

Author:
Ugo Taddei, last edited by: $Author: rbezema $ $Revision: 20603 $, $Date: 2009-11-05 16:26:23 +0100 (Do, 05. Nov 2009) $
See Also:
Serialized Form

Field Summary
static int availableTextureUnitStates
          Is set to the maximum number of texture units accessable to the wpvs.
static AbstractDataSource largestElevModel
          The elevation model to check for the height above the terrain.
static int MAX_REQUEST_SIZE
          The size of a wfs/wms/wcs request if larger as the available texture size it will be the texture size (read from the gpu).
static int texture2DMaxSize
          Is set to the maximum size of a texture supported by the canvas3d.
 
Constructor Summary
WPVSConfiguration(String version, String updateSequence, ServiceIdentification serviceIdentification, ServiceProvider serviceProvider, OperationsMetadata operationsMetadata, Contents contents, Dataset dataset, WPVSDeegreeParams wpvsParams, double smallestMinimalScaleDenomiator)
           
 
Method Summary
protected static javax.media.j3d.Canvas3D createOffscreenCanvas3D()
          creates and returns a canvas for offscreen rendering
static javax.media.j3d.Canvas3D getCanvas3D()
           
 WPVSDeegreeParams getDeegreeParams()
           
static double getHeightForPosition(javax.vecmath.Point3d pos)
           
 double getSmallestMinimalScaleDenomiator()
           
static boolean releaseCanvas3D(javax.media.j3d.Canvas3D canvas)
           
 void setDeegreeParams(WPVSDeegreeParams deegreeParams)
           
 
Methods inherited from class org.deegree.ogcwebservices.wpvs.capabilities.WPVSCapabilities
findDataset, findElevationModel, getDataset
 
Methods inherited from class org.deegree.owscommon.OWSCommonCapabilities
getContents, getOperationsMetadata, getServiceIdentification, getServiceProvider, setContents, setOperationsMetadata, setServiceIdentification, setServiceProvider
 
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilities
getUpdateSequence, getVersion, setUpdateSequence, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

availableTextureUnitStates

public static int availableTextureUnitStates
Is set to the maximum number of texture units accessable to the wpvs.


texture2DMaxSize

public static int texture2DMaxSize
Is set to the maximum size of a texture supported by the canvas3d.


MAX_REQUEST_SIZE

public static int MAX_REQUEST_SIZE
The size of a wfs/wms/wcs request if larger as the available texture size it will be the texture size (read from the gpu).


largestElevModel

public static AbstractDataSource largestElevModel
The elevation model to check for the height above the terrain.

Constructor Detail

WPVSConfiguration

public WPVSConfiguration(String version,
                         String updateSequence,
                         ServiceIdentification serviceIdentification,
                         ServiceProvider serviceProvider,
                         OperationsMetadata operationsMetadata,
                         Contents contents,
                         Dataset dataset,
                         WPVSDeegreeParams wpvsParams,
                         double smallestMinimalScaleDenomiator)
Parameters:
version - the Version of this wpvs
updateSequence - optional needed for clients who want to do caching (ogc-spec)
serviceIdentification -
serviceProvider -
operationsMetadata -
contents -
dataset -
wpvsParams - deegree specific parameters.
smallestMinimalScaleDenomiator - of all datasources, it is needed to calculate the smallest resolutionstripe possible.
Method Detail

getHeightForPosition

public static double getHeightForPosition(javax.vecmath.Point3d pos)
Parameters:
pos - the position to get the height value
Returns:
the height value of the given position or the globalMinimalHeight value if the position was outside the heightmap.

getCanvas3D

public static javax.media.j3d.Canvas3D getCanvas3D()
Returns:
an Offscreen canvas3D from a simple pool if it has no view and the renderer is not running.

releaseCanvas3D

public static boolean releaseCanvas3D(javax.media.j3d.Canvas3D canvas)
Parameters:
canvas - to be released.
Returns:
true if the removal operation was successful, false if the given canvas3D was not in the list of used canvasses.

createOffscreenCanvas3D

protected static javax.media.j3d.Canvas3D createOffscreenCanvas3D()
creates and returns a canvas for offscreen rendering

Returns:
a offscreen Canvas3D on which the the scene will be rendered.

getDeegreeParams

public WPVSDeegreeParams getDeegreeParams()
Returns:
Returns the deegreeParams.

setDeegreeParams

public void setDeegreeParams(WPVSDeegreeParams deegreeParams)
Parameters:
deegreeParams - The deegreeParams to set.

getSmallestMinimalScaleDenomiator

public double getSmallestMinimalScaleDenomiator()
Returns:
the smallestMinimalScaleDenomiator value.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org