Constructor and Description |
---|
DeviceSpacenav() |
Modifier and Type | Method and Description |
---|---|
void |
button(SpaceNavButtonEvent e) |
void |
dispose() |
String |
getName() |
void |
initialize(Viewer viewer,
Map<String,Object> config)
Basically the actual constructor.
|
ToolEvent |
mapRawDevice(String rawDeviceName,
InputSlot inputDevice) |
void |
motion(SpaceNavMotionEvent e) |
void |
run() |
void |
setEventQueue(ToolEventQueue queue)
Here the ToolEventQueue that has a thread running is attached to the device.
|
public void initialize(Viewer viewer, Map<String,Object> config)
RawDevice
initialize
in interface RawDevice
public ToolEvent mapRawDevice(String rawDeviceName, InputSlot inputDevice)
mapRawDevice
in interface RawDevice
public void setEventQueue(ToolEventQueue queue)
RawDevice
setEventQueue
in interface RawDevice
public void button(SpaceNavButtonEvent e)
public void motion(SpaceNavMotionEvent e)