|
|||||||||||
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
interaction.InterpolatorSwitch
Klasse zur einfacheren bzw. erweiterten Steuerung eines Interpolators. Die
Richtung des Interpolators (bzw. des Alpha
Objekts) kann
während der Animation geändert werden.
Ist die Animation beendet, wird der Interpolator deaktiviert.
Field Summary | |
static int |
CHANGING_TO_ONE
Alpha läuft von 0 nach 1. |
static int |
CHANGING_TO_ZERO
Alpha läuft von 1 nach 0. |
static int |
ONE
Alpha ist 1. |
static int |
ZERO
Alpha ist 0. |
Fields inherited from class javax.media.j3d.Node |
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_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING |
Constructor Summary | |
InterpolatorSwitch(javax.media.j3d.Interpolator inter)
Erstellt eine Instanz dieser Klasse zur Steuerung des übergebenen Interpolators. |
Method Summary | |
void |
changeState()
Ändert die Richtung der Interpolation bzw. des Alpha Objekts. |
javax.media.j3d.Node |
cloneNode(boolean arg0)
|
int |
getState()
Liefert den Status des Alpha Objekts zurück. |
void |
initialize()
|
void |
processStimulus(java.util.Enumeration arg0)
|
Methods inherited from class javax.media.j3d.Behavior |
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences |
Methods inherited from class javax.media.j3d.Node |
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
Methods inherited from class javax.media.j3d.SceneGraphObject |
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ZERO
public static final int ONE
public static final int CHANGING_TO_ZERO
public static final int CHANGING_TO_ONE
Constructor Detail |
public InterpolatorSwitch(javax.media.j3d.Interpolator inter)
inter
- Der Interpolator, der überwacht und gesteuert werden
soll.Method Detail |
public void changeState()
public int getState()
ZERO
, wenn Alpha 0 istONE
, wenn Alpha 1 istCHANGING_TO_ZERO
, wenn Alpha von 1 nach 0
läuftCHANGING_TO_ONE
, wenn Alpha von 0 nach 1
läuftpublic void initialize()
public void processStimulus(java.util.Enumeration arg0)
public javax.media.j3d.Node cloneNode(boolean arg0)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |