All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.external.geometry.Interpolator

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.external.geometry.VrmlObject
                   |
                   +----vlc.vrml.external.geometry.ChildrenNode
                           |
                           +----vlc.vrml.external.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 definition of the Anchor node please see the VRML 97 Anchor specification

Interpolator Abstract class. Used as the base class for all interpolators

Author:
Justin Couch justin@vlc.com.au

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 EventInSFFloat _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 EventInMFFloat _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