|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Leaf
javax.media.j3d.Behavior
javax.media.j3d.Interpolator
com.sun.j3d.loaders.lw3d.FloatValueInterpolator
com.sun.j3d.loaders.lw3d.SwitchPathInterpolator
class SwitchPathInterpolator
This class was used in conjunction with SequenceReader to create Tloop functionality inside of Lightwave files. This behavior handles the switching between objects defined in separate lines of a sequence file. That is, each line in a sequence file has the name of an object (or an object sequence, if the name ends in "000") and details the start and end frames that that object should be active. This class determines which object/s defined in the file should be active at any given time during the animation.
Field Summary | |
---|---|
(package private) int |
childCount
|
(package private) int |
currentChild
|
(package private) int |
firstSwitchIndex
|
(package private) int |
lastSwitchIndex
|
(package private) Switch |
target
|
Fields inherited from class com.sun.j3d.loaders.lw3d.FloatValueInterpolator |
---|
currentInterpolationRatio, currentKnotIndex, currentValue, values |
Fields inherited from class javax.media.j3d.Interpolator |
---|
defaultWakeupCriterion |
Constructor Summary | |
---|---|
SwitchPathInterpolator(Alpha alpha,
float[] knots,
Switch target)
Constructs a new SwitchPathInterpolator object. |
Method Summary | |
---|---|
void |
processStimulus(java.util.Enumeration criteria)
This method sets the correct child for the Switch node according to alpha |
Methods inherited from class com.sun.j3d.loaders.lw3d.FloatValueInterpolator |
---|
computePathInterpolation, getValue, setValue |
Methods inherited from class javax.media.j3d.Interpolator |
---|
getAlpha, initialize, setAlpha |
Methods inherited from class javax.media.j3d.Behavior |
---|
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOn |
Methods inherited from class javax.media.j3d.Node |
---|
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
Methods inherited from class javax.media.j3d.SceneGraphObject |
---|
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
Switch target
int firstSwitchIndex
int lastSwitchIndex
int currentChild
int childCount
Constructor Detail |
---|
SwitchPathInterpolator(Alpha alpha, float[] knots, Switch target)
alpha
- the alpha object for this interpolatorknots
- an array of knot values that specify a splineMethod Detail |
---|
public void processStimulus(java.util.Enumeration criteria)
processStimulus
in class Behavior
criteria
- enumeration of criteria that have triggered this wakeup
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |