interaction.navigation
Class GravityMouseBehavior

java.lang.Object
  extended byjavax.media.j3d.SceneGraphObject
      extended byjavax.media.j3d.Node
          extended byjavax.media.j3d.Leaf
              extended byjavax.media.j3d.Behavior
                  extended byinteraction.navigation.GravityMouseBehavior

public class GravityMouseBehavior
extends javax.media.j3d.Behavior

Ermöglicht die Steuerung der ViewPlatform oder eines anderen Objekts mit der Maus. Die Mausbewegung bei gedrückter Maustaste bestimmt die Richtung und Geschwindigkeit der Bewegung.

Version:
1.0 (2005/04/26)
Author:
Martin Hedler

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_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
GravityMouseBehavior(GravityBehavior fB)
          Erstellt eine Instanz der Klasse.
 
Method Summary
 javax.media.j3d.Node cloneNode(boolean arg0)
           
 void initialize()
           
 void processStimulus(java.util.Enumeration criteria)
           
 void updateNodeReferences(javax.media.j3d.NodeReferenceTable arg0)
           
 
Methods inherited from class javax.media.j3d.Behavior
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval
 
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
 

Constructor Detail

GravityMouseBehavior

public GravityMouseBehavior(GravityBehavior fB)
Erstellt eine Instanz der Klasse.

Parameters:
fB - Das GravityBehavior Objekt, welches die gewünschte TransformGroup manipuliert.
Method Detail

initialize

public void initialize()

processStimulus

public void processStimulus(java.util.Enumeration criteria)

updateNodeReferences

public void updateNodeReferences(javax.media.j3d.NodeReferenceTable arg0)

cloneNode

public javax.media.j3d.Node cloneNode(boolean arg0)