public abstract class Interpolator extends Behavior
| Modifier and Type | Field and Description |
|---|---|
(package private) Alpha |
alpha |
protected WakeupCriterion |
defaultWakeupCriterion
Default WakeupCondition for all interpolators.
|
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTINGnodeHashtable, retained| Constructor and Description |
|---|
Interpolator()
Constructs an Interpolator node with a null alpha value.
|
Interpolator(Alpha alpha)
Constructs an Interpolator node with the specified alpha value.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
duplicateAttributes(Node originalNode,
boolean forceDuplicate)
Copies all Interpolator information from
originalNode into
the current node. |
Alpha |
getAlpha()
Retrieves this interpolator's alpha object.
|
void |
initialize()
This is the default Interpolator behavior initialization routine.
|
void |
setAlpha(Alpha alpha)
Set this interpolator's alpha to the specified alpha object.
|
createRetained, getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, processStimulus, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOncheckDuplicateNode, checkForCycle, cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickablecapabilityBitsEmpty, checkForLiveOrCompiled, clearCapability, clearCapabilityIsFrequent, clearLive, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getNamePrefix, getNodeComponent, getUserData, isCompiled, isLive, isLiveOrCompiled, setCapability, setCapabilityIsFrequent, setCompiled, setDefaultReadCapabilities, setLive, setName, setUserData, toStringAlpha alpha
protected WakeupCriterion defaultWakeupCriterion
public Interpolator()
public Interpolator(Alpha alpha)
alpha - the alpha object used by this interpolator.
If it is null, then this interpolator will not run.public Alpha getAlpha()
public void setAlpha(Alpha alpha)
alpha - the new alpha object. If set to null,
then this interpolator will stop running.public void initialize()
initialize in class Behaviorvoid duplicateAttributes(Node originalNode, boolean forceDuplicate)
originalNode into
the current node. This method is called from the
cloneNode method which is, in turn, called by the
cloneTree method.duplicateAttributes in class BehaviororiginalNode - the original node to duplicate.forceDuplicate - when set to true, causes the
duplicateOnCloneTree flag to be ignored. When
false, the value of each node's
duplicateOnCloneTree variable determines whether
NodeComponent data is duplicated or copied.RestrictedAccessException - if this object is part of a live
or compiled scenegraph.Node.duplicateNode(javax.media.j3d.Node, boolean),
Node.cloneTree(),
NodeComponent.setDuplicateOnCloneTree(boolean)Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.