All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.generic.geometry.Background

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.generic.geometry.ChildrenNode
                   |
                   +----vlc.vrml.generic.geometry.BindableNode
                           |
                           +----vlc.vrml.generic.geometry.Background

public class Background
extends BindableNode
JVerge

Version:
0.8 (beta 4) Copyright 1997 The Virtual Light Company under the GNU LGPL

The latest information and bugs in JVerge can be found at http://www.vlc.com.au/JVerge

For definition of the Anchor node please see the VRML 97 Anchor specification

Author:
Justin Couch justin@vlc.com.au

Constructor Index

 o Background()
Default constructor.

Method Index

 o clone()
Make a clone of this object
 o get_backUrl()
Get the list of URLs for the current back image
 o get_bottomUrl()
Get the list of URLs for the current bottom image
 o get_frontUrl()
Get the list of URLs for the current front image
 o get_groundAngle()
Get the currently set groundAngle value
 o get_groundColor()
Get the current colors that correspond to the ground angles
 o get_leftUrl()
Get the list of URLs for the current left image
 o get_rightUrl()
Get the list of URLs for the current right image
 o get_skyAngle()
Get the currently set skyAngle value
 o get_skyColor()
Get the current colors that correspond to the sky part of groundangles
 o get_topUrl()
Get the list of URLs for the current top image
 o set_backUrl(String[])
Set the URLs that correspond to the back image
 o set_bottomUrl(String[])
Set the URLs that correspond to the bottom image
 o set_frontUrl(String[])
Set the URLs that correspond to the front image
 o set_groundAngle(float[])
Set a new groundAngle value.
 o set_groundColor(float[][])
Set the colors that correspond to the ground angles
 o set_leftUrl(String[])
Set the URLs that correspond to the left image
 o set_rightUrl(String[])
Set the URLs that correspond to the right image
 o set_skyAngle(float[])
Set a new skyAngle value.
 o set_skyColor(float[][])
Set the sky colors that correspond to the sky part of groundAngle
 o set_topUrl(String[])
Set the URLs that correspond to the top image
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

 o Background
 public Background()
Default constructor. Creates a default Background node

Methods

 o writeToStream
 public void writeToStream(int indent)
Prints the formatted contents of this node to the given stream.

Parameters:
indent - The number of spaces to indent this node in the string
Overrides:
writeToStream in class VrmlObject
 o set_groundAngle
 public void set_groundAngle(float val[])
Set a new groundAngle value.

Parameters:
An - array of angles (in radians) that defines the ground colors
 o get_groundAngle
 public float[] get_groundAngle()
Get the currently set groundAngle value

Returns:
An array of the current angles (in radians)
 o set_groundColor
 public void set_groundColor(float val[][])
Set the colors that correspond to the ground angles

Parameters:
colors - An array of colors that are defined for each angle defined by the groundAngle. The values are defined as: color[i][0] = red, color[i][1] = green, color[i][2] = blue
 o get_groundColor
 public float[][] get_groundColor()
Get the current colors that correspond to the ground angles

Returns:
An array of colors that are defined for each angle defined by the groundAngle. The values are defined as: color[i][0] = red, color[i][1] = green, color[i][2] = blue
 o set_skyAngle
 public void set_skyAngle(float val[])
Set a new skyAngle value.

Parameters:
An - array of angles (in radians) that defines the ground colors
 o get_skyAngle
 public float[] get_skyAngle()
Get the currently set skyAngle value

Returns:
An array of the current angles (in radians)
 o set_skyColor
 public void set_skyColor(float val[][])
Set the sky colors that correspond to the sky part of groundAngle

Parameters:
colors - An array of colors that are defined for each angle defined by the groundAngle. The values are defined as: color[i][0] = red, color[i][1] = green, color[i][2] = blue
 o get_skyColor
 public float[][] get_skyColor()
Get the current colors that correspond to the sky part of groundangles

Returns:
An array of colors that are defined for each angle defined by the groundAngle. The values are defined as: color[i][0] = red, color[i][1] = green, color[i][2] = blue
 o set_backUrl
 public void set_backUrl(String val[])
Set the URLs that correspond to the back image

Parameters:
val - An array of URLs and/or URNs to be used.
 o get_backUrl
 public String[] get_backUrl()
Get the list of URLs for the current back image

Returns:
An array of Strings, each representing one URL/URN.
 o set_bottomUrl
 public void set_bottomUrl(String val[])
Set the URLs that correspond to the bottom image

Parameters:
val - An array of URLs and/or URNs to be used.
 o get_bottomUrl
 public String[] get_bottomUrl()
Get the list of URLs for the current bottom image

Returns:
An array of Strings, each representing one URL/URN.
 o set_frontUrl
 public void set_frontUrl(String val[])
Set the URLs that correspond to the front image

Parameters:
val - An array of URLs and/or URNs to be used.
 o get_frontUrl
 public String[] get_frontUrl()
Get the list of URLs for the current front image

Returns:
An array of Strings, each representing one URL/URN.
 o set_leftUrl
 public void set_leftUrl(String val[])
Set the URLs that correspond to the left image

Parameters:
val - An array of URLs and/or URNs to be used.
 o get_leftUrl
 public String[] get_leftUrl()
Get the list of URLs for the current left image

Returns:
An array of Strings, each representing one URL/URN.
 o set_rightUrl
 public void set_rightUrl(String val[])
Set the URLs that correspond to the right image

Parameters:
val - An array of URLs and/or URNs to be used.
 o get_rightUrl
 public String[] get_rightUrl()
Get the list of URLs for the current right image

Returns:
An array of Strings, each representing one URL/URN.
 o set_topUrl
 public void set_topUrl(String val[])
Set the URLs that correspond to the top image

Parameters:
val - An array of URLs and/or URNs to be used.
 o get_topUrl
 public String[] get_topUrl()
Get the list of URLs for the current top image

Returns:
An array of Strings, each representing one URL/URN.
 o clone
 public Object clone()
Make a clone of this object

Returns:
A deep clone copy of this object
Overrides:
clone in class BindableNode

All Packages  Class Hierarchy  This Package  Previous  Next  Index