All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.internal.geometry.Billboard

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.internal.geometry.VrmlObject
                   |
                   +----vlc.vrml.internal.geometry.ChildrenNode
                           |
                           +----vlc.vrml.internal.geometry.GroupingNode
                                   |
                                   +----vlc.vrml.internal.geometry.Billboard

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

Author:
Justin Couch justin@vlc.com.au

Constructor Index

 o Billboard()
Default Constructor.
 o Billboard(Browser)
Default Constructor when you wish to supply your own Browser reference.
 o Billboard(Browser, float[], float[])
Constructor to use when you want to supply non-default values of the bounding box center or size and to use your own Browser reference.
 o Billboard(float[], float[])
Cosntructor to use when you want to supply non-default values of the bounding box center or 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_axisOfRotation()
Get the current axisOfRotation.
 o set_axisOfRotation(float[])
Set the axisOfRotation.
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

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

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

 o Billboard
 public Billboard(float bboxCenter[],
                  float bboxSize[])
Cosntructor to use when you want to supply non-default values of the bounding box center or size.

 o Billboard
 public Billboard(Browser b,
                  float bboxCenter[],
                  float bboxSize[])
Constructor to use when you want to supply non-default values of the bounding box center or size and to use 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 set_axisOfRotation
 public void set_axisOfRotation(float val[])
Set the axisOfRotation.

Parameters:
val - The axis to be used.
 o get_axisOfRotation
 public float[] get_axisOfRotation()
Get the current axisOfRotation.

Returns:
The last set axis of rotation.
 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