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
-
_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 SFFloat _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 MFFloat _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