org.deegree.ogcwebservices.wpvs.j3d
Class BackgroundFactory
java.lang.Object
org.deegree.ogcwebservices.wpvs.j3d.BackgroundFactory
public class BackgroundFactory
- extends Object
Factory for creating different types of Java3D objects to be used as background objects.
- Since:
- 2.0
- Version:
- 2.0, $Revision: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Ugo Taddei, last edited by: $Author: apoth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createSimpleBackgroundGroup
public static javax.media.j3d.Background createSimpleBackgroundGroup(ViewPoint vp,
Color color,
URL imgURL,
Dimension reqImgDimension)
throws 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 positioncolor
- the background color (seen when image is null or doesn't cover the whole view)imgURL
- a URL pointing to an imagereqImgDimension
-
- Returns:
- A Java3D Background Node
- Throws:
IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net