|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.spacenav.SpaceNav
public class SpaceNav
This class provides an interface to the free spacenavd for 3D input devices from 3DConnection (TM), see http://spacenav.sourceforge.net/
Constructor Summary | |
---|---|
SpaceNav()
Default constructor, opens the SpaceNav device The connection should be closed with closeDevice() if no longer needed. |
Method Summary | |
---|---|
void |
closeDevice()
Close the connection to the SpaceNav device |
void |
setSensitivity(double sens)
Set sensitivity of device, seems that the daemon multiplies all values with the supplied sensitivity |
SpaceNavEvent |
waitForEvent()
Wait for an event to occur. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpaceNav()
Method Detail |
---|
public void closeDevice()
public void setSensitivity(double sens)
sens
- the sensitivitypublic SpaceNavEvent waitForEvent()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |