net.sf.spacenav
Class SpaceNavMotionEvent

java.lang.Object
  extended by net.sf.spacenav.SpaceNavEvent
      extended by net.sf.spacenav.SpaceNavMotionEvent

public class SpaceNavMotionEvent
extends SpaceNavEvent

This class represents a SpaceNav motion event.


Constructor Summary
SpaceNavMotionEvent(int x, int y, int z, int rx, int ry, int rz)
          Create a new SpaceNavMotionEvent
 
Method Summary
 int getRX()
          Get the X-rotation
 int getRY()
          Get the Y-rotation
 int getRZ()
          Get the Z-rotation
 int getX()
          Get the X-translation
 int getY()
          Get the Y-translation
 int getZ()
          Get the Z-translation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceNavMotionEvent

public SpaceNavMotionEvent(int x,
                           int y,
                           int z,
                           int rx,
                           int ry,
                           int rz)
Create a new SpaceNavMotionEvent

Parameters:
x - x-translation
y - y-translation
z - z-translation
rx - x-rotation
ry - y-rotation
rz - z-rotation
Method Detail

getX

public int getX()
Get the X-translation

Returns:
the value

getY

public int getY()
Get the Y-translation

Returns:
the value

getZ

public int getZ()
Get the Z-translation

Returns:
the value

getRX

public int getRX()
Get the X-rotation

Returns:
the value

getRY

public int getRY()
Get the Y-rotation

Returns:
the value

getRZ

public int getRZ()
Get the Z-rotation

Returns:
the value