All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.internal.geometry.Inline

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.internal.geometry.VrmlObject
                   |
                   +----vlc.vrml.internal.geometry.ChildrenNode
                           |
                           +----vlc.vrml.internal.geometry.SpecialGroup
                                   |
                                   +----vlc.vrml.internal.geometry.Inline

public class Inline
extends SpecialGroup
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 Inline node please see the VRML 97 Inline specification

Author:
Justin Couch justin@vlc.com.au

Constructor Index

 o Inline()
Default Constructor.
 o Inline(Browser)
Default Constructor when you wish to supply your own Browser reference.
 o Inline(Browser, float[], float[])
Constructor when you want to control the bounding box properties and supply your own Browser reference.
 o Inline(float[], float[])
Constructor when you want to control the bounding box properties

Method Index

 o cleanup()
Call when about to remove the node from the scenegraph.
 o clone()
Make a clone of this object
 o get_url()
Get the array of URLs that this node links to.
 o set_url(String[])
Set the URL/URNs that this node links to.
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

 o Inline
 public Inline()
Default Constructor. Creates a default Inline

 o Inline
 public Inline(Browser b)
Default Constructor when you wish to supply your own Browser reference. Creates a default Inline

 o Inline
 public Inline(float bboxCenter[],
               float bboxSize[])
Constructor when you want to control the bounding box properties

Parameters:
bboxCenter - The center position of the bounding box where center[0] = x, center[1] = y, center[2] = z
bboxSize - The maximum extents in each axis of the bounding box where size[0] = x, size[1] = y, size[2] = z
 o Inline
 public Inline(Browser b,
               float bboxCenter[],
               float bboxSize[])
Constructor when you want to control the bounding box properties and supply your own Browser reference.

Parameters:
b - A valid Browser reference
bboxCenter - The center position of the bounding box where center[0] = x, center[1] = y, center[2] = z
bboxSize - The maximum extents in each axis of the bounding box where size[0] = x, size[1] = y, size[2] = z

Methods

 o cleanup
 public void cleanup()
Call when about to remove the node from the scenegraph.

Overrides:
cleanup in class VrmlObject
 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_url
 public void set_url(String val[])
Set the URL/URNs that this node links to. These can be any accepted form that the standard URL/URN representations permit.

Parameters:
urls - An array of the URL strings
 o get_url
 public String[] get_url()
Get the array of URLs that this node links to.

Returns:
The URL/URNs that this node links to one per string
 o 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