All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.external.geometry.Box

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.external.geometry.VrmlObject
                   |
                   +----vlc.vrml.external.geometry.Geometry
                           |
                           +----vlc.vrml.external.geometry.Box

public class Box
extends Geometry
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 Box()
Default Constructor.
 o Box(Browser)
Default Constructor when you wish to supply your own Browser reference.
 o Box(Browser, float, float, float)
Constructor to use when you want to use non-default values for the size and also supply your own Browser reference.
 o Box(float, float, float)
Constructor to use when you want to use non-default values for the size.

Method Index

 o cleanup()
Call when about to remove the node from the scenegraph.
 o clone()
Make a clone of this object
 o get_size()
Get the size that was set for this box during construction
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

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

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

 o Box
 public Box(float x,
            float y,
            float z)
Constructor to use when you want to use non-default values for the size.

 o Box
 public Box(Browser b,
            float x,
            float y,
            float z)
Constructor to use when you want to use non-default values for the size and also supply your own Browser reference.

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 get_size
 public float[] get_size()
Get the size that was set for this box during construction

Returns:
A 3 element array representing the set size in x, y, z.
 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