|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.wpvs.j3d.Abstract3DRenderingEngine
public abstract class Abstract3DRenderingEngine
This class serves a a superclass for all rendering engines of the WPV Service.
| Field Summary | |
|---|---|
protected float |
farClippingPlane
|
protected double |
nearClippingPlane
|
protected WPVSScene |
scene
|
| Constructor Summary | |
|---|---|
Abstract3DRenderingEngine(WPVSScene scene)
Creates a new Abstract3DRenderEngine object with a nearclippingplane of 2. |
|
Abstract3DRenderingEngine(WPVSScene scene,
double nearClippingPlane)
Creates a new Abstract3DRenderEngine object. |
|
| Method Summary | |
|---|---|
protected void |
addBackground(ViewPoint vp,
javax.media.j3d.Group worldGroup,
javax.media.j3d.Node background)
adds a background to the scene |
protected javax.media.j3d.Canvas3D |
createCanvas(boolean offscreen)
Creates a new canvas each time this is called. |
protected javax.media.j3d.TransformGroup |
createTransformGroup()
A transform group is aplied as the transformation to the branches |
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(javax.media.j3d.View view,
javax.media.j3d.BranchGroup viewGroup)
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.ogcwebservices.wpvs.j3d.RenderingEngine |
|---|
renderScene |
| Field Detail |
|---|
protected WPVSScene scene
protected float farClippingPlane
protected double nearClippingPlane
| Constructor Detail |
|---|
public Abstract3DRenderingEngine(WPVSScene scene)
scene - to be rendered
public Abstract3DRenderingEngine(WPVSScene scene,
double nearClippingPlane)
scene - to be renderednearClippingPlane - of the viewport| Method Detail |
|---|
protected javax.media.j3d.Canvas3D createCanvas(boolean offscreen)
offscreen - true if the canvas3D is an offsreen canvas.
null if no GraphicsEnvironment was found.protected javax.media.j3d.TransformGroup createTransformGroup()
protected void setView(javax.media.j3d.View view,
javax.media.j3d.BranchGroup viewGroup)
View of the scene and adds it to the submitted
BranchGroup
view - the scenes viewviewGroup -
protected void addBackground(ViewPoint vp,
javax.media.j3d.Group worldGroup,
javax.media.j3d.Node background)
vp - viewpointbackground - the node to render in the backgroundworldGroup - to add the Background topublic void setBackClipDistance(float distance)
setBackClipDistance in interface RenderingEnginedistance - public void setFrontClipDistance(float distance)
setFrontClipDistance in interface RenderingEnginedistance -
|
deegree 2.2 (2008/12/22 11:33 build-3038-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://deegree.sourceforge.net