shout3d.core
Class TCBOrientationInterpolator

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.Interpolator
              |
              +--shout3d.core.KeyframeInterpolator
                    |
                    +--shout3d.core.TCBInterpolator
                          |
                          +--shout3d.core.TCBOrientationInterpolator

public class TCBOrientationInterpolator
extends TCBInterpolator
implements FieldObserver

A TCB Orientation Interpolator


Field Summary
 FloatArrayField keyValue
           
 FloatArrayField value
           
 
Fields inherited from class shout3d.core.KeyframeInterpolator
key, timeScale
 
Fields inherited from class shout3d.core.Interpolator
fraction
 
Constructor Summary
TCBOrientationInterpolator()
          Constructs a default TCB Orientation Interpolator
 
Method Summary
 void onFieldChange(Field theField, java.lang.Object userData)
          This node watches one field, the keyValue field.
 void update()
          Call this to update the value field's value based on the current value of the fraction field.
 
Methods inherited from class shout3d.core.KeyframeInterpolator
getKeyIndexBeforeOrAt, getRampedKey
 
Methods inherited from class shout3d.core.Node
cleanUp, getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, getViewer, isOfType, setDEFName, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyValue

public final FloatArrayField keyValue

value

public final FloatArrayField value
Constructor Detail

TCBOrientationInterpolator

public TCBOrientationInterpolator()
Constructs a default TCB Orientation Interpolator
Method Detail

update

public void update()
Call this to update the value field's value based on the current value of the fraction field. This is automatically called by the viewer, but you can call this at any time to force new output.
Overrides:
update in class Interpolator

onFieldChange

public void onFieldChange(Field theField,
                          java.lang.Object userData)
This node watches one field, the keyValue field. When the keyValue changes, the TCB structure must be updated
Specified by:
onFieldChange in interface FieldObserver
Overrides:
onFieldChange in class Interpolator