iicm.vrml.pw
Class ScalarInterpolator

java.lang.Object
  extended by iicm.vrml.pw.Node
      extended by iicm.vrml.pw.Interpolator
          extended by iicm.vrml.pw.ScalarInterpolator
All Implemented Interfaces:
GotEventCallback

public class ScalarInterpolator
extends Interpolator


Field Summary
 MFFloat key
           
 MFFloat keyValue
           
 SFFloat set_fraction
           
 SFFloat value_changed
           
private  float[] values
           
 
Fields inherited from class iicm.vrml.pw.Node
DEF_KEYWORD, EXTERNPROTO_KEYWORD, fieldIScontent, newISname, newISnum, objname, PROTO_KEYWORD, ROUTE_KEYWORD, SCRIPT_KEYWORD, subfields, USE_KEYWORD, userdata
 
Constructor Summary
ScalarInterpolator()
           
 
Method Summary
(package private)  Field interpolate()
          derived class will call interpolateFloatvalues with appropriate arguments.
 java.lang.String nodeName()
          the node's name
 void traverse(Traverser t)
          must call appropriate method of Traverser for node traversal
 
Methods inherited from class iicm.vrml.pw.Interpolator
gotEventCB, interpolateFloatvalues, linearInterpolation
 
Methods inherited from class iicm.vrml.pw.Node
addField, addRoute, atCurrLine, createInstanceFromName, deleteRoute, getEvent, readFields, readNode, readNodeBody, readNodeBody, tab, traverseNode, writeNode, writeSubfield, writeSubfields, writeX3dISfields, writeX3dNode, writeX3dNode, writeX3dNode, writeX3dSubfield, writeX3dSubfields, writeX3dSubfields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public MFFloat key

keyValue

public MFFloat keyValue

set_fraction

public SFFloat set_fraction

value_changed

public SFFloat value_changed

values

private float[] values
Constructor Detail

ScalarInterpolator

ScalarInterpolator()
Method Detail

nodeName

public java.lang.String nodeName()
Description copied from class: Node
the node's name

Specified by:
nodeName in class Node

traverse

public void traverse(Traverser t)
Description copied from class: Node
must call appropriate method of Traverser for node traversal

Specified by:
traverse in class Node

interpolate

Field interpolate()
Description copied from class: Interpolator
derived class will call interpolateFloatvalues with appropriate arguments.

Specified by:
interpolate in class Interpolator
Returns:
field to which event should be sent (values changed) or null, if there are no event receivers.