|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wpvs.GetViewHandler org.deegree.ogcwebservices.wpvs.DefaultGetViewHandler
public class DefaultGetViewHandler
Default handler for WPVS GetView requests. This Class is the central position where the GetView
request lands
the configured Datasources are gathered and the scene is put together.
Constructor Summary | |
---|---|
DefaultGetViewHandler(WPVService owner)
Constructor for DefaultGetViewHandler. |
Method Summary | |
---|---|
OffScreenWPVSRenderer |
getRenderer()
|
protected double |
getTerrainHeightAboveSeaLevel(double eyePositionX,
double eyePositionY,
double eyePositionZ)
Should return the height of the terrain above the sealevel. |
protected double |
getTerrainHeightAboveSeaLevel(javax.vecmath.Point3d eyePosition)
Should return the height of the terrain above the sealevel. |
WPVSScene |
getTheScene()
|
GetViewResponse |
handleRequest(GetView request)
This Method handles a clients GetView request by creating the appropriate (configured) Datasources, the ResolutionStripe s, the requeststripes (which are actually axisalligned Resolutionsripes) and finally
putting them all together in a java3d scene. |
java.awt.image.BufferedImage |
renderScene()
Renders the scene and the resulting image. |
Methods inherited from class org.deegree.ogcwebservices.wpvs.GetViewHandler |
---|
getOwner |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGetViewHandler(WPVService owner)
owner
- the service creating this handlerMethod Detail |
---|
public GetViewResponse handleRequest(GetView request) throws OGCWebServiceException
ResolutionStripe
s, the requeststripes (which are actually axisalligned Resolutionsripes) and finally
putting them all together in a java3d scene. The creation of the Shape3D Objects (by requesting the
ResolutionStripe relevant Datasources) is done in separate Threads for each ResolutionStripe (which is in
conflict with the deegree styleguides) using the Executor
class.
handleRequest
in class GetViewHandler
request
- te WPVS GetView request
OGCWebServiceException
GetViewHandler.handleRequest(org.deegree.ogcwebservices.wpvs.operation.GetView)
protected double getTerrainHeightAboveSeaLevel(double eyePositionX, double eyePositionY, double eyePositionZ)
eyePositionX
- to find the height of the sealevel for (not used yet)eyePositionY
- to find the height of the sealevel for (not used yet)eyePositionZ
- to find the height of the sealevel for (not used yet)
protected double getTerrainHeightAboveSeaLevel(javax.vecmath.Point3d eyePosition)
eyePosition
- to find the height of the sealevel for (not used yet)
public java.awt.image.BufferedImage renderScene()
public WPVSScene getTheScene()
public OffScreenWPVSRenderer getRenderer()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org