All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.generic.geometry.CoordinateInterpolator

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.generic.geometry.ChildrenNode
                   |
                   +----vlc.vrml.generic.geometry.Interpolator
                           |
                           +----vlc.vrml.generic.geometry.CoordinateInterpolator

public class CoordinateInterpolator
extends Interpolator
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 CoordinateInterpolator()
Default constructor.

Method Index

 o clone()
Make a clone of this object
 o get_keyValue()
Get the current keyValue values
 o set_keyValue(float[][])
Set the coordinate keyValues to be used.
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

 o CoordinateInterpolator
 public CoordinateInterpolator()
Default constructor. Creates a default CoordinateInterpolator

Methods

 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_keyValue
 public void set_keyValue(float coord[][])
Set the coordinate keyValues to be used. The length of this array should exactly correspond to the length of the key array. No checking is done to enforce this as it is allowable to have different lengths in the VRML 97 spec.

Parameters:
coord - The array of coordinate values where coodr[i][0] = x, coord[i][1] = y, coord[i][2] = z
 o get_keyValue
 public float[][] get_keyValue()
Get the current keyValue values

Returns:
The array of coord values that are interpolated between where coord[i][0] = x, coord[i][1] = y, coord[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 Interpolator

All Packages  Class Hierarchy  This Package  Previous  Next  Index