visad.java3d
Class WandBehaviorJ3D
- java.lang.Object
-
- javax.media.j3d.SceneGraphObject
-
- javax.media.j3d.Node
-
- javax.media.j3d.Leaf
-
- javax.media.j3d.Behavior
-
- visad.java3d.MouseBehaviorJ3D
-
- visad.java3d.WandBehaviorJ3D
-
- All Implemented Interfaces:
- java.lang.Runnable, MouseBehavior
public class WandBehaviorJ3D extends MouseBehaviorJ3D implements java.lang.Runnable, MouseBehavior
WandBehaviorJ3D is the VisAD class for wand behaviors for Java3D it works with ImmersaDeskDisplayRendererJ3D
-
-
Field Summary
-
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_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
-
-
Constructor Summary
Constructors Constructor and Description WandBehaviorJ3D(ImmersaDeskDisplayRendererJ3D r, int tracker_shmkey, int controller_shmkey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidinitialize()Initialize this behavior.voidprocessStimulus(java.util.Enumeration criteria)Process a stimulus meant for this behavior.voidrun()voidstop()-
Methods inherited from class visad.java3d.MouseBehaviorJ3D
cursorRay, destroy, findRay, getMouseHelper, getPlateCoords, getScreenCoords, instance_unmake_matrix, make_matrix, make_matrix, make_translate, make_translate, multiply_matrix, static_make_matrix, static_make_matrix, static_multiply_matrix, unmake_matrix
-
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
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, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface visad.MouseBehavior
cursorRay, findRay, getMouseHelper, getScreenCoords, instance_unmake_matrix, make_matrix, make_matrix, make_translate, make_translate, multiply_matrix
-
-
-
-
Constructor Detail
-
WandBehaviorJ3D
public WandBehaviorJ3D(ImmersaDeskDisplayRendererJ3D r, int tracker_shmkey, int controller_shmkey) throws VisADException
- Throws:
VisADException
-
-
Method Detail
-
initialize
public void initialize()
Description copied from class:MouseBehaviorJ3DInitialize this behavior. NOTE: Applications should not call this method. It is called by the Java 3D behavior scheduler.- Overrides:
initializein classMouseBehaviorJ3D
-
processStimulus
public void processStimulus(java.util.Enumeration criteria)
Description copied from class:MouseBehaviorJ3DProcess a stimulus meant for this behavior. This method is invoked when a key is pressed. NOTE: Applications should not call this method. It is called by the Java 3D behavior scheduler.- Overrides:
processStimulusin classMouseBehaviorJ3D- Parameters:
criteria- an enumeration of triggered wakeup criteria
-
stop
public void stop()
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
-
DMelt 3.0 © DataMelt by jWork.ORG