All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.internal.geometry.PointSet

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.internal.geometry.VrmlObject
                   |
                   +----vlc.vrml.internal.geometry.Geometry
                           |
                           +----vlc.vrml.internal.geometry.PointSet

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

Author:
Justin Couch justin@vlc.com.au

Constructor Index

 o PointSet()
Default Constructor.
 o PointSet(Browser)
Default Constructor when you wish to supply your own Browser reference.

Method Index

 o cleanup()
Call when about to remove the node from the scenegraph.
 o clone()
Make a clone of this object
 o get_color()
Get the currently set Color node
 o get_coord()
Get the currently set Coordinate node
 o set_color(Color)
Set the color node to be associated with this node
 o set_coord(Coordinate)
Set the Coordinate node to be associated with this node
 o writeReset()
Used for maintaining the reference counting when trying to do DEF/USE in the write to stream method.
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

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

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

Methods

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

Overrides:
cleanup in class VrmlObject
 o writeReset
 public void writeReset()
Used for maintaining the reference counting when trying to do DEF/USE in the write to stream method.

Overrides:
writeReset 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_color
 public void set_color(Color color)
Set the color node to be associated with this node

Parameters:
color - A valid JVerge color node or null to remove the current.
 o get_color
 public Color get_color()
Get the currently set Color node

Returns:
The current color node or null if not set.
 o set_coord
 public void set_coord(Coordinate coord)
Set the Coordinate node to be associated with this node

Parameters:
color - A valid JVerge coordinate node or null to remove the current.
 o get_coord
 public Coordinate get_coord()
Get the currently set Coordinate node

Returns:
The current coordinate node or null if not set.
 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