public class MouseTranslate
extends com.sun.j3d.utils.behaviors.mouse.MouseBehavior
Modifier and Type | Field and Description |
---|---|
private com.sun.j3d.utils.behaviors.mouse.MouseBehaviorCallback |
callback |
private int |
lastButton |
private boolean |
moved |
private int |
projection |
private float |
scale |
(package private) javax.vecmath.Vector3d |
translation |
(package private) double |
x_factor |
(package private) double |
y_factor |
buttonPress, currXform, enable, flags, invert, INVERT_INPUT, MANUAL_WAKEUP, mouseCriterion, mouseEvents, mouseq, reset, transformGroup, transformX, transformY, wakeUp, x, x_last, y, y_last
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 and Description |
---|
MouseTranslate(float scale) |
Modifier and Type | Method and Description |
---|---|
void |
doProcess(java.awt.event.MouseEvent evt) |
javax.media.j3d.Transform3D |
getcurrXform() |
float |
getTranslationX() |
float |
getTranslationY() |
boolean |
isMoved() |
void |
processStimulus(java.util.Enumeration criteria) |
void |
set_projection(int projection) |
void |
set111() |
void |
setM4f(javax.vecmath.Matrix4f origen) |
void |
setX() |
void |
setY() |
void |
setZ() |
addListener, getTransformGroup, initialize, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, processMouseEvent, setEnable, setTransformGroup, wakeup
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOn
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
private float scale
double x_factor
double y_factor
javax.vecmath.Vector3d translation
private int lastButton
private int projection
private com.sun.j3d.utils.behaviors.mouse.MouseBehaviorCallback callback
private boolean moved
public javax.media.j3d.Transform3D getcurrXform()
public float getTranslationX()
public float getTranslationY()
public boolean isMoved()
public void set_projection(int projection)
public void setX()
public void setZ()
public void setY()
public void set111()
public void setM4f(javax.vecmath.Matrix4f origen)
public void processStimulus(java.util.Enumeration criteria)
processStimulus
in class com.sun.j3d.utils.behaviors.mouse.MouseBehavior
public void doProcess(java.awt.event.MouseEvent evt)