|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wts.Abstract3DRenderEngine
-----------------------------------------------------------------------
Field Summary | |
protected float |
back_clipping
|
protected float |
front_clipping
|
protected WTSScene |
scene
|
Constructor Summary | |
Abstract3DRenderEngine(WTSScene scene)
Creates a new Abstract3DRenderEngine object. |
Method Summary | |
protected void |
addBackround(ViewPoint vp,
Group world_group,
java.lang.String background)
adds a background to the scene |
BranchGroup |
createBackground(ViewPoint vp,
java.lang.String background)
creates the background of a scene depending of the view point definition |
protected Canvas3D |
createCanvas(boolean offscreen)
Creates a new canvas each time this is called. |
private TransformGroup |
createTransformGroup()
Build the scenegraph for the canvas |
private double |
mapAngle(double angle)
|
void |
setBackClipDistance(float distance)
sets the scenes back clip distance. default is 15000 |
void |
setFrontClipDistance(float distance)
sets the scenes front clip distance. default is 2 |
protected void |
setView(View view,
BranchGroup view_group)
sets/defines the View of the scene and adds it to the submitted BranchGroup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.deegree.services.wts.RenderEngine |
renderScene |
Field Detail |
protected WTSScene scene
protected float back_clipping
protected float front_clipping
Constructor Detail |
public Abstract3DRenderEngine(WTSScene scene)
scene
- Method Detail |
protected Canvas3D createCanvas(boolean offscreen)
private TransformGroup createTransformGroup()
protected void setView(View view, BranchGroup view_group)
view
- the scenes viewview_group
- private double mapAngle(double angle)
angle
-
protected void addBackround(ViewPoint vp, Group world_group, java.lang.String background)
vp
- view pointworld_group
- backgroundpublic BranchGroup createBackground(ViewPoint vp, java.lang.String background)
vp
- view point
public void setBackClipDistance(float distance)
setBackClipDistance
in interface RenderEngine
distance
- public void setFrontClipDistance(float distance)
setFrontClipDistance
in interface RenderEngine
distance
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |