shout3d.core
Class TCBBaseInterpolator
java.lang.Object
|
+--shout3d.core.Node
|
+--shout3d.core.Interpolator
|
+--shout3d.core.KeyframeInterpolator
|
+--shout3d.core.TCBInterpolator
|
+--shout3d.core.TCBBaseInterpolator
- Direct Known Subclasses:
- TCBScalarInterpolator, TCBVecInterpolator
- public abstract class TCBBaseInterpolator
- extends TCBInterpolator
- implements FieldObserver
A Base Class for TCB Vector Interpolators
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.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 |
keyValue
public final FloatArrayField keyValue
size
public final IntField size
TCBBaseInterpolator
public TCBBaseInterpolator()
- Constructs a default TCBBaseInterpolator
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