org.deegree.services.wts
Interface WTSScene

All Known Implementing Classes:
WTSScene_Impl

public interface WTSScene

the interface defines a scene that will be rendered by a WTS

----------------------------------------------------------------------

Version:
$Revision: 1.6 $ $Date: 2004/04/27 15:40:16 $

Author:
Andreas Poth

Method Summary
 void addAtmosphericCondition(AtmosphericCondition conditions)
          adds a atmospheric condition to the scene.
 void addFeature(Group feature)
          adds a feature that shall be rendered.
 void addLight(Light light)
          adds a light to the scene. this can be ambient, directional and point light.
 AtmosphericCondition[] getAtmosphericConditions()
          returns the athmospheric conditions of the scene
 GM_Position[] getBackFrame()
          returns the four corner coordinates of farest frame the viewer sees and that contains data
 java.lang.Object getBackground()
          returns the background object of the scene. this may be a Background, a Shape3D or null if no background is defined.
 java.util.Calendar getDate()
          returns the date and day time defined for the scene
 GM_Envelope getEnvelope()
          returns the envelope od the scene.
 Group[] getFeatures()
          returns the feature of the scene that are not part of the terrain
 GM_Position[] getFrontBorderFrame()
          returns the four corner coordinates of frame the viewer sees next to him and that contains data
 Light[] getLights()
          returns the lights of the scene
 Shape3D[] getTerrain()
          returns the features that constructs the terrain model of the scene
 ViewPoint getViewPoint()
          gets the position of the viewer, the directions he looks and his field of view in radians
 void setAtmosphericConditions(AtmosphericCondition[] conditions)
          sets the atmospheric conditions for the rendering. e.g. if a clear day (maybe summer late morning) is assumed there will be very sharp shadows. if vice versa a cloudy day (let's say autumn late afternoon) with some poor rain and a bit fog is assumed there won't be sharp shadows but some kind of 'gray curtain' over the scene.
 void setBackground(Background background)
          sets the Background object of the scene
 void setDate(java.util.Calendar calendar)
          set the date and the time for determining time depending the light conditions of the scene
 void setFeatures(Group[] features)
          sets the features that shall be rendered.
 void setLights(Light[] lights)
          sets the lights of the scene. this can be ambient, directional and point light.
 void setTerrain(Shape3D feature)
          sets the terrain of the WTS-Scene as Shape3D object containing an appearence
 void setViewPoint(ViewPoint viewPoint)
          defines the position of the viewer and the point he looks at.
 

Method Detail

setTerrain

public void setTerrain(Shape3D feature)
sets the terrain of the WTS-Scene as Shape3D object containing an appearence


getTerrain

public Shape3D[] getTerrain()
returns the features that constructs the terrain model of the scene


setFeatures

public void setFeatures(Group[] features)
sets the features that shall be rendered.


addFeature

public void addFeature(Group feature)
adds a feature that shall be rendered.


getFeatures

public Group[] getFeatures()
returns the feature of the scene that are not part of the terrain


setBackground

public void setBackground(Background background)
sets the Background object of the scene


getBackground

public java.lang.Object getBackground()
returns the background object of the scene. this may be a Background, a Shape3D or null if no background is defined.


setViewPoint

public void setViewPoint(ViewPoint viewPoint)
defines the position of the viewer and the point he looks at.


getViewPoint

public ViewPoint getViewPoint()
gets the position of the viewer, the directions he looks and his field of view in radians


setDate

public void setDate(java.util.Calendar calendar)
set the date and the time for determining time depending the light conditions of the scene


getDate

public java.util.Calendar getDate()
returns the date and day time defined for the scene


setAtmosphericConditions

public void setAtmosphericConditions(AtmosphericCondition[] conditions)
sets the atmospheric conditions for the rendering. e.g. if a clear day (maybe summer late morning) is assumed there will be very sharp shadows. if vice versa a cloudy day (let's say autumn late afternoon) with some poor rain and a bit fog is assumed there won't be sharp shadows but some kind of 'gray curtain' over the scene.


addAtmosphericCondition

public void addAtmosphericCondition(AtmosphericCondition conditions)
adds a atmospheric condition to the scene.

See Also:
setAtmosphericConditions(AtmosphericCondition[])

getAtmosphericConditions

public AtmosphericCondition[] getAtmosphericConditions()
returns the athmospheric conditions of the scene


setLights

public void setLights(Light[] lights)
sets the lights of the scene. this can be ambient, directional and point light.


addLight

public void addLight(Light light)
adds a light to the scene. this can be ambient, directional and point light.


getLights

public Light[] getLights()
returns the lights of the scene


getEnvelope

public GM_Envelope getEnvelope()
returns the envelope od the scene.


getFrontBorderFrame

public GM_Position[] getFrontBorderFrame()
returns the four corner coordinates of frame the viewer sees next to him and that contains data


getBackFrame

public GM_Position[] getBackFrame()
returns the four corner coordinates of farest frame the viewer sees and that contains data