iicm.vrml.pw
Class ColorInterpolator

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

public class ColorInterpolator
extends Interpolator


Field Summary
 MFFloat key
           
 MFColor keyValue
           
 SFFloat set_fraction
           
 SFColor value_changed
           
 
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
ColorInterpolator()
           
 
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 MFColor keyValue

set_fraction

public SFFloat set_fraction

value_changed

public SFColor value_changed
Constructor Detail

ColorInterpolator

ColorInterpolator()
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.