public abstract class Interpolator extends Behavior
Modifier and Type | Field and Description |
---|---|
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_REPORTING
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 |
---|---|
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.
|
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, processStimulus, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOn
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString
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 Behavior
Copyright © 2016–2022 SciJava. All rights reserved.