All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.internal.geometry.Interpolator

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

public abstract class Interpolator
extends ChildrenNode
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 more information on Interpolator nodes please see the VRML 97 specification Concepts section 4.6.8

Base class for all interpolators

Author:
Justin Couch justin@vlc.com.au
See Also:
ColorInterpolator, CoordinateInterpolator, NormalInterpolator, OrientationInterpolator, PositionInterpolator, ScalarInterpolator

Variable Index

 o _key
Internal representation of the keys.
 o _set_fraction
The reference to the set_fraction eventIn.
 o _set_key
The reference to the key exposedField.

Constructor Index

 o Interpolator()
Protected Constructor to stop direct instantiation of this class
 o Interpolator(Browser)
Constructor to pass the browser reference down to the base class

Method Index

 o get_key()
Get the current key values
 o set_fraction(float)
Set the current fraction value.
 o set_key(float[])
Set the keys to be used for this node

Variables

 o _set_fraction
 protected SFFloat _set_fraction
The reference to the set_fraction eventIn. Should be set by the base class once the node has been constructed.

 o _set_key
 protected MFFloat _set_key
The reference to the key exposedField. Should be set by the base class once the node has been constructed.

 o _key
 protected float _key[]
Internal representation of the keys.

Constructors

 o Interpolator
 protected Interpolator()
Protected Constructor to stop direct instantiation of this class

 o Interpolator
 protected Interpolator(Browser b)
Constructor to pass the browser reference down to the base class

Parameters:
b - The browser reference to be passed on

Methods

 o set_key
 public void set_key(float key[])
Set the keys to be used for this node

Parameters:
key - An array of floats defining the new keys to be used. Replaces any previously set value.
 o set_fraction
 public void set_fraction(float val)
Set the current fraction value. Equivalent of sending an event to the set_fraction eventIn.

 o get_key
 public float[] get_key()
Get the current key values

Returns:
An array reflecting the current key values.

All Packages  Class Hierarchy  This Package  Previous  Next  Index