All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.external.geometry.Normal

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

public class Normal
extends VrmlObject
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

Variable Index

 o _set_vector

Constructor Index

 o Normal()
Default Constructor
 o Normal(Browser)
Default Constructor where you provide your own browser reference

Method Index

 o cleanp()
Call when about to remove the node from the scenegraph.
 o clone()
Make a clone of this object
 o get_vector()
Get the Normal attributes of the node
 o set_vector(float[][])
Set the Normal Vetors attributes of the node
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Variables

 o _set_vector
 protected EventInMFVec3f _set_vector

Constructors

 o Normal
 public Normal()
Default Constructor

 o Normal
 public Normal(Browser b)
Default Constructor where you provide your own browser reference

Methods

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

 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_vector
 public void set_vector(float vector[][])
Set the Normal Vetors attributes of the node

Parameters:
vector - An array of normal vectors. Each normal is described as \ color[i][0] = x, color[i][1] = y, color[i][2] = z
 o get_vector
 public float[][] get_vector()
Get the Normal attributes of the node

Returns:
An array of normal vector values. Each normal is described as \ color[i][0] = x, color[i][1] = y, color[i][2] = 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