All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.Background
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.ChildrenNode
|
+----vlc.vrml.external.geometry.BindableNode
|
+----vlc.vrml.external.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
-
_set_backUrl
-
-
_set_bottomUrl
-
-
_set_frontUrl
-
-
_set_groundAngle
-
-
_set_groundColor
-
-
_set_leftUrl
-
-
_set_rightUrl
-
-
_set_skyAngle
-
-
_set_skyColor
-
-
_set_topUrl
-
-
Background()
- Default constructor.
-
Background(Browser)
- Default constructor.
-
clone()
- Make a clone of this object
-
get_backUrl()
- Get the list of URLs for the current back image
-
get_bottomUrl()
- Get the list of URLs for the current bottom image
-
get_frontUrl()
- Get the list of URLs for the current front image
-
get_groundAngle()
- Get the currently set groundAngle value
-
get_groundColor()
- Get the current colors that correspond to the ground angles
-
get_leftUrl()
- Get the list of URLs for the current left image
-
get_rightUrl()
- Get the list of URLs for the current right image
-
get_skyAngle()
- Get the currently set skyAngle value
-
get_skyColor()
- Get the current colors that correspond to the sky part of groundangles
-
get_topUrl()
- Get the list of URLs for the current top image
-
set_backUrl(String[])
- Set the URLs that correspond to the back image
-
set_bottomUrl(String[])
- Set the URLs that correspond to the bottom image
-
set_frontUrl(String[])
- Set the URLs that correspond to the front image
-
set_groundAngle(float[])
- Set a new groundAngle value.
-
set_groundColor(float[][])
- Set the colors that correspond to the ground angles
-
set_leftUrl(String[])
- Set the URLs that correspond to the left image
-
set_rightUrl(String[])
- Set the URLs that correspond to the right image
-
set_skyAngle(float[])
- Set a new skyAngle value.
-
set_skyColor(float[][])
- Set the sky colors that correspond to the sky part of groundAngle
-
set_topUrl(String[])
- Set the URLs that correspond to the top image
-
writeToStream(int)
- Prints the formatted contents of this node to the given stream.
_set_groundAngle
protected EventInMFFloat _set_groundAngle
_set_groundColor
protected EventInMFColor _set_groundColor
_set_backUrl
protected EventInMFString _set_backUrl
_set_bottomUrl
protected EventInMFString _set_bottomUrl
_set_frontUrl
protected EventInMFString _set_frontUrl
_set_leftUrl
protected EventInMFString _set_leftUrl
_set_rightUrl
protected EventInMFString _set_rightUrl
_set_topUrl
protected EventInMFString _set_topUrl
_set_skyAngle
protected EventInMFFloat _set_skyAngle
_set_skyColor
protected EventInMFColor _set_skyColor
Background
public Background()
- Default constructor. Creates a default Background node
Background
public Background(Browser b)
- Default constructor. Used when you want to supply your own Browser
reference. Creates a default Background node.
- Parameters:
- b - A valid Browser reference
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
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
get_groundAngle
public float[] get_groundAngle()
- Get the currently set groundAngle value
- Returns:
- An array of the current angles (in radians)
set_groundColor
public void set_groundColor(float colors[][])
- 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
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
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
get_skyAngle
public float[] get_skyAngle()
- Get the currently set skyAngle value
- Returns:
- An array of the current angles (in radians)
set_skyColor
public void set_skyColor(float colors[][])
- 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
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
clone
public Object clone()
- Make a clone of this object
- Returns:
- A deep clone copy of this object
- Overrides:
- clone in class VrmlObject
All Packages Class Hierarchy This Package Previous Next Index