deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.ogcwebservices.wpvs.operation
Class RequestGeometry

java.lang.Object
  extended by org.deegree.ogcwebservices.wpvs.operation.RequestGeometry
Direct Known Subclasses:
ConeRequest, LineRequest

public abstract class RequestGeometry
extends Object

This abstract class represents a geometry needed for Get3DFeatureInfoRequest. It contains the 3d geometry and its 2d projektion. The 2d geometry is required for WFS request, the 3d geometry for the final test of intersection.

Version:
$Revision: $, 1.0. $Revision: $, $Date: $
Author:
Lyn Buesching, last edited by: $Author: $

Field Summary
protected  javax.media.j3d.PickShape pickshape
           
protected  Get3DFeatureInfo request
           
protected  Geometry wfsReqGeom
           
 
Constructor Summary
RequestGeometry(Get3DFeatureInfo request)
          Constructor to initialize the attributes needed for all geometries
 
Method Summary
protected  javax.vecmath.Point3d calcEndPoint(ViewPoint viewPoint, double depth, int width, int height, int clickI, int clickJ)
          Calculates a ray thro the ViewPoint and the ClickPoint.
 javax.vecmath.Point3d getBeginPointLine()
           
 CoordinateSystem getCrs()
           
 javax.media.j3d.PickShape getPickshape()
           
 Get3DFeatureInfo getRequest()
           
 Geometry getWfsReqGeom()
           
abstract  void setPickshape()
          sets the geometry needed for final test of intersection
abstract  void setWfsReqGeom()
          sets the geometry needed for WFS request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected Get3DFeatureInfo request

wfsReqGeom

protected Geometry wfsReqGeom

pickshape

protected javax.media.j3d.PickShape pickshape
Constructor Detail

RequestGeometry

public RequestGeometry(Get3DFeatureInfo request)
Constructor to initialize the attributes needed for all geometries

Parameters:
request - the Get3DFeatureInfoRequest
Method Detail

getPickshape

public javax.media.j3d.PickShape getPickshape()

getWfsReqGeom

public Geometry getWfsReqGeom()

getBeginPointLine

public javax.vecmath.Point3d getBeginPointLine()

getCrs

public CoordinateSystem getCrs()

getRequest

public Get3DFeatureInfo getRequest()

setWfsReqGeom

public abstract void setWfsReqGeom()
                            throws GeometryException
sets the geometry needed for WFS request

Throws:
GeometryException

setPickshape

public abstract void setPickshape()
sets the geometry needed for final test of intersection


calcEndPoint

protected javax.vecmath.Point3d calcEndPoint(ViewPoint viewPoint,
                                             double depth,
                                             int width,
                                             int height,
                                             int clickI,
                                             int clickJ)
Calculates a ray thro the ViewPoint and the ClickPoint.

Parameters:
clickI -
clickJ -
Returns:

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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