|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
the interface defines a scene that will be rendered by a WTS
----------------------------------------------------------------------
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 |
public void setTerrain(Shape3D feature)
public Shape3D[] getTerrain()
public void setFeatures(Group[] features)
public void addFeature(Group feature)
public Group[] getFeatures()
public void setBackground(Background background)
public java.lang.Object getBackground()
public void setViewPoint(ViewPoint viewPoint)
public ViewPoint getViewPoint()
public void setDate(java.util.Calendar calendar)
public java.util.Calendar getDate()
public void setAtmosphericConditions(AtmosphericCondition[] conditions)
public void addAtmosphericCondition(AtmosphericCondition conditions)
setAtmosphericConditions(AtmosphericCondition[])
public AtmosphericCondition[] getAtmosphericConditions()
public void setLights(Light[] lights)
public void addLight(Light light)
public Light[] getLights()
public GM_Envelope getEnvelope()
public GM_Position[] getFrontBorderFrame()
public GM_Position[] getBackFrame()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |