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
-
_key
- Internal representation of the keys.
-
_set_fraction
- The reference to the set_fraction eventIn.
-
_set_key
- The reference to the key exposedField.
-
Interpolator()
- Protected Constructor to stop direct instantiation of this class
-
Interpolator(Browser)
- Constructor to pass the browser reference down to the base class
-
get_key()
- Get the current key values
-
set_fraction(float)
- Set the current fraction value.
-
set_key(float[])
- Set the keys to be used for this node
_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.
_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.
_key
protected float _key[]
- Internal representation of the keys.
Interpolator
protected Interpolator()
- Protected Constructor to stop direct instantiation of this class
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
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.
set_fraction
public void set_fraction(float val)
- Set the current fraction value. Equivalent of sending an event to the
set_fraction eventIn.
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