ffe.behaviors
Class MouseZoom

java.lang.Object
  extended byjavax.media.j3d.SceneGraphObject
      extended byjavax.media.j3d.Node
          extended byjavax.media.j3d.Leaf
              extended byjavax.media.j3d.Behavior
                  extended byffe.behaviors.MouseBehavior
                      extended byffe.behaviors.MouseZoom

public class MouseZoom
extends MouseBehavior

The MouseZoom class implements a Mouse Zoom behavior.


Field Summary
(package private)  javax.vecmath.Vector3d translation
           
(package private)  double z_factor
           
 
Fields inherited from class ffe.behaviors.MouseBehavior
buttonPress, currXform, flags, id, invert, INVERT_INPUT, MANUAL_WAKEUP, mouseCriterion, mouseEvents, postCriterion, poster, reset, t3d, transformGroup, transformX, transformY, ViewerTG, wakeUp, x, x_last, y, y_last
 
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
 
Fields inherited from class javax.media.j3d.SceneGraphObject
 
Constructor Summary
MouseZoom(javax.media.j3d.TransformGroup baseTransform, int flags, javax.media.j3d.Bounds bounds, javax.media.j3d.TransformGroup VPTG)
           
 
Method Summary
 double getFactor()
           
 void initialize()
           
 void processStimulus(java.util.Enumeration criteria)
           
 void setFactor(double factor)
           
 void setupCallback(MouseBehaviorCallback c)
           
 void transformChanged(javax.media.j3d.Transform3D transform)
           
 
Methods inherited from class ffe.behaviors.MouseBehavior
processMouseEvent, setTransformGroup, wakeup
 
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, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

z_factor

double z_factor

translation

javax.vecmath.Vector3d translation
Constructor Detail

MouseZoom

public MouseZoom(javax.media.j3d.TransformGroup baseTransform,
                 int flags,
                 javax.media.j3d.Bounds bounds,
                 javax.media.j3d.TransformGroup VPTG)
Method Detail

initialize

public void initialize()
Overrides:
initialize in class MouseBehavior

getFactor

public double getFactor()

setFactor

public void setFactor(double factor)

processStimulus

public void processStimulus(java.util.Enumeration criteria)
Specified by:
processStimulus in class MouseBehavior

transformChanged

public void transformChanged(javax.media.j3d.Transform3D transform)

setupCallback

public void setupCallback(MouseBehaviorCallback c)