deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wpvs.j3d
Class BackgroundFactory

java.lang.Object
  extended by org.deegree.ogcwebservices.wpvs.j3d.BackgroundFactory

public class BackgroundFactory
extends java.lang.Object

Factory for creating different types of Java3D objects to be used as background objects.

Since:
2.0
Version:
2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Ugo Taddei, last edited by: $Author: mschneider $

Method Summary
static javax.media.j3d.Background createSimpleBackgroundGroup(ViewPoint vp, java.awt.Color color, java.net.URL imgURL, java.awt.Dimension reqImgDimension)
          Creates Java 3D background object, drawn at infinity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSimpleBackgroundGroup

public static javax.media.j3d.Background createSimpleBackgroundGroup(ViewPoint vp,
                                                                     java.awt.Color color,
                                                                     java.net.URL imgURL,
                                                                     java.awt.Dimension reqImgDimension)
                                                              throws java.io.IOException
Creates Java 3D background object, drawn at infinity. This method is used for "box" views and/or when the users wants a fixed background image. Not the in the latter case for optimal results, the image should be of same dimensions as the GetView image

Parameters:
vp - the ViewPoint defining the observer's position
color - the background color (seen when image is null or doesn't cover the whole view)
imgURL - a URL pointing to an image
reqImgDimension -
Returns:
A Java3D Background Node
Throws:
java.io.IOException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org