All Packages Class Hierarchy This Package Previous Next Index
Interface java.media.j3d.InputDevice
- public interface interface InputDevice
A InputDevice object encapsulates the InputDevice's basic information.
-
POLLED
- Specifies that the associated devices works in polled mode
-
STREAMING
- Specifies that the associated devices works in streaming mode
-
getNextDevice()
- Get the next device following this device
-
getProcessingMode()
- Retrieve the Device's processing mode
-
initialize()
- Code to initialize the device
-
pollAndProcessInput()
- Code to poll and process the device's input.
-
processStreamInput()
- Code to process the device's streaming input.
-
setNextDevice(InputDevice)
- Set this object's next device to be the specified device
-
setNominalPositionAndOrientation()
- Code to set the device's current position and orientation as the devices
nominal position and orientation(establish its reference frame relative
to the "Tracker base" reference frame).
-
setProcessingMode(int)
- Retrieve the Device's processing mode
POLLED
public static final int POLLED
- Specifies that the associated devices works in polled mode
STREAMING
public static final int STREAMING
- Specifies that the associated devices works in streaming mode
initialize
public abstract boolean initialize()
- Code to initialize the device
setNominalPositionAndOrientation
public abstract void setNominalPositionAndOrientation()
- Code to set the device's current position and orientation as the devices
nominal position and orientation(establish its reference frame relative
to the "Tracker base" reference frame).
pollAndProcessInput
public abstract void pollAndProcessInput()
- Code to poll and process the device's input.
processStreamInput
public abstract void processStreamInput()
- Code to process the device's streaming input.
getNextDevice
public abstract InputDevice getNextDevice()
- Get the next device following this device
- Returns:
- the next device
setNextDevice
public abstract void setNextDevice(InputDevice device)
- Set this object's next device to be the specified device
- Parameters:
- the - next device
getProcessingMode
public abstract int getProcessingMode()
- Retrieve the Device's processing mode
setProcessingMode
public abstract void setProcessingMode(int mode)
- Retrieve the Device's processing mode
All Packages Class Hierarchy This Package Previous Next Index