forest3D.control
Class VirtualInputDevice
java.lang.Object
|
+--forest3D.control.VirtualInputDevice
- All Implemented Interfaces:
- javax.media.j3d.InputDevice
- public class VirtualInputDevice
- extends java.lang.Object
- implements javax.media.j3d.InputDevice
Field Summary |
(package private) java.awt.Frame |
deviceFrame
|
(package private) javax.media.j3d.Sensor[] |
sensors
|
Fields inherited from interface javax.media.j3d.InputDevice |
BLOCKING, DEMAND_DRIVEN, NON_BLOCKING |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sensors
javax.media.j3d.Sensor[] sensors
deviceFrame
java.awt.Frame deviceFrame
VirtualInputDevice
public VirtualInputDevice(java.lang.String[] args)
close
public void close()
- Specified by:
close
in interface javax.media.j3d.InputDevice
getProcessingMode
public int getProcessingMode()
- Specified by:
getProcessingMode
in interface javax.media.j3d.InputDevice
getSensorCount
public int getSensorCount()
- Specified by:
getSensorCount
in interface javax.media.j3d.InputDevice
getSensor
public javax.media.j3d.Sensor getSensor(int sensorIndex)
- Specified by:
getSensor
in interface javax.media.j3d.InputDevice
initialize
public boolean initialize()
- Specified by:
initialize
in interface javax.media.j3d.InputDevice
pollAndProcessInput
public void pollAndProcessInput()
- Specified by:
pollAndProcessInput
in interface javax.media.j3d.InputDevice
processStreamInput
public void processStreamInput()
- Specified by:
processStreamInput
in interface javax.media.j3d.InputDevice
setNominalPositionAndOrientation
public void setNominalPositionAndOrientation()
- Specified by:
setNominalPositionAndOrientation
in interface javax.media.j3d.InputDevice
setProcessingMode
public void setProcessingMode(int mode)
- Specified by:
setProcessingMode
in interface javax.media.j3d.InputDevice
kill
public void kill()
setVisible
public void setVisible(boolean b)