| 
deegree 2.1 (2007/11/08 09:57 build-328-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
org.deegree.ogcwebservices.wpvs.j3d.InteractiveWPVSRenderer
public class InteractiveWPVSRenderer
This class sill/shoud provide the ability to render a scence object (s. com.sun.j3d.loaders.Scene) or a Canvas3D. It's currently used for testing.
| Field Summary | 
|---|
| Fields inherited from class org.deegree.ogcwebservices.wpvs.j3d.Abstract3DRenderingEngine | 
|---|
farClippingPlane, nearClippingPlane, scene | 
| Constructor Summary | |
|---|---|
InteractiveWPVSRenderer(WPVSScene scene)
initialzies the render class with a default width and height (801x601)  | 
|
InteractiveWPVSRenderer(WPVSScene scene,
                                               int width,
                                               int height)
initialzies the render class with the submitted width and height  | 
|
| Method Summary | |
|---|---|
protected  javax.media.j3d.Locale | 
createLocale(javax.media.j3d.VirtualUniverse u)
Simple utility method that creates a Locale for the VirtualUniverse  | 
protected  javax.media.j3d.Canvas3D | 
createOffscreenCanvas3D()
creates and returns a canvas for offscreen rendering  | 
protected  javax.media.j3d.VirtualUniverse | 
createVirtualUniverse()
Create the VirtualUniverse for the application.  | 
 int | 
getHeight()
returns the height of the offscreen rendering target  | 
protected  RenderedImage | 
getImage(javax.media.j3d.Canvas3D offScreenCanvas3D)
Called to render the scene into the offscreen Canvas3D  | 
 int | 
getWidth()
returns the width of the offscreen rendering target  | 
 Object | 
renderScene()
renders the scene to an BufferedImage | 
 void | 
setHeight(int height)
 | 
 void | 
setScene(WPVSScene scene)
 | 
 void | 
setWidth(int width)
 | 
| Methods inherited from class org.deegree.ogcwebservices.wpvs.j3d.Abstract3DRenderingEngine | 
|---|
addBackground, createCanvas, createTransformGroup, setBackClipDistance, setFrontClipDistance, setView | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public InteractiveWPVSRenderer(WPVSScene scene)
scene - 
public InteractiveWPVSRenderer(WPVSScene scene,
                               int width,
                               int height)
scene - width - height - | Method Detail | 
|---|
public void setScene(WPVSScene scene)
scene - protected javax.media.j3d.VirtualUniverse createVirtualUniverse()
protected javax.media.j3d.Locale createLocale(javax.media.j3d.VirtualUniverse u)
u - the universe
public int getWidth()
public void setWidth(int width)
width - the new width of the screenpublic int getHeight()
public void setHeight(int height)
height - the new Height of the screenpublic Object renderScene()
BufferedImage
BufferedImage where the scene has been rendered toprotected javax.media.j3d.Canvas3D createOffscreenCanvas3D()
protected RenderedImage getImage(javax.media.j3d.Canvas3D offScreenCanvas3D)
offScreenCanvas3D - the canvas to render into
  | 
deegree 2.1 (2007/11/08 09:57 build-328-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