| java.lang.Object com.sun.j3d.utils.trackers.Tracker
All known Subclasses: com.sun.j3d.utils.trackers.JavaOneLogitechTracker, com.sun.j3d.utils.trackers.SharedMemoryPolhemusTracker, com.sun.j3d.utils.trackers.SharedMemoryMagellanTracker, com.sun.j3d.utils.trackers.SharedMemoryLogitechTracker, com.sun.j3d.utils.trackers.JavaOnePolhemusTracker, com.sun.j3d.utils.trackers.SharedMemoryPushTracker, com.sun.j3d.utils.trackers.LogitechTracker, com.sun.j3d.utils.trackers.PolhemusTracker, com.sun.j3d.utils.trackers.MagellanTracker,
Tracker | abstract public class Tracker implements InputDevice(Code) | | A Tracker object encapsulates the Tracker's basic information.
|
Constructor Summary | |
| Tracker(PhysicalEnvironment env, String deviceFilename, int mode, int sensorCount, int buttonCount) Construct a new Tracker with the specified sensorCount and
buttonCount. | | Tracker(View view, String deviceFilename, int mode, int sensorCount, int buttonCount) | | Tracker(int sensorCount, int buttonCount) Construct a new Tracker with the specified sensorCount and
buttonCount. | | Tracker(PhysicalEnvironment env, String deviceFilename, int mode, int sensorCount, int sensorReadCount, int buttonCount) Construct a new Tracker with the specified sensorCount and
buttonCount. | | Tracker(View view, String deviceFilename, int mode, int sensorCount, int sensorReadCount, int buttonCount) |
TrackerBaseToDevice | Transform3D TrackerBaseToDevice(Code) | | The transform that converts a vector in device coordinates into
uniform Tracker coordinates.
TrackerVec = TrackerBaseToDevice x DeviceVec
|
buttonCount | int buttonCount(Code) | | |
fileDescriptor | int fileDescriptor(Code) | | |
processingMode | int processingMode(Code) | | |
sensorCount | int sensorCount(Code) | | |
Tracker | Tracker(PhysicalEnvironment env, String deviceFilename, int mode, int sensorCount, int buttonCount)(Code) | | Construct a new Tracker with the specified sensorCount and
buttonCount.
Parameters: physicalEnvironment - the physical environment object where wewant access to this device. Parameters: deviceFilename - the filename associated with the device Parameters: mode - the device's query mode (POLLED or STREAMING) Parameters: sensorCount - the number of sensors attached to this device Parameters: buttonCount - the number of buttons attached to this device a new Tracker object |
Tracker | Tracker(View view, String deviceFilename, int mode, int sensorCount, int buttonCount)(Code) | | |
Tracker | Tracker(int sensorCount, int buttonCount)(Code) | | Construct a new Tracker with the specified sensorCount and
buttonCount.
Parameters: sensorCount - the number of sensors attached to this device Parameters: buttonCount - the number of buttons attached to this device a new Tracker object |
Tracker | Tracker(PhysicalEnvironment env, String deviceFilename, int mode, int sensorCount, int sensorReadCount, int buttonCount)(Code) | | Construct a new Tracker with the specified sensorCount and
buttonCount.
Parameters: physicalEnvironment - the physical environment object where wewant access to this device. Parameters: deviceFilename - the filename associated with the device Parameters: mode - the device's query mode (POLLED or STREAMING) Parameters: sensorCount - the number of sensors attached to this device Parameters: sensorReadCount - the number of sensorReadings per sensor Parameters: buttonCount - the number of buttons attached to this device a new Tracker object |
Tracker | Tracker(View view, String deviceFilename, int mode, int sensorCount, int sensorReadCount, int buttonCount)(Code) | | |
CloseSerialDevice | native int CloseSerialDevice(int fDescriptor)(Code) | | |
OpenSerialDeviceRaw | native int OpenSerialDeviceRaw(String deviceFilename, int baudRate)(Code) | | |
WriteSerialRaw | native int WriteSerialRaw(int fDescriptor, String outString)(Code) | | |
close | public void close()(Code) | | Code to cleanup and close the device
|
getButtonCount | public int getButtonCount()(Code) | | Get the Tracker's buttonCount
this input device's button count. |
getDeviceFilename | public String getDeviceFilename()(Code) | | Get the Tracker's deviceFilename
this input device's file name |
getProcessingMode | public int getProcessingMode()(Code) | | Retrieve the Device's processing mode
|
getSensor | public Sensor getSensor(int sensorIndex)(Code) | | Get this Tracker's specified Sensor
Parameters: sensorIndex - the sensor to retrieve Returns the specified sensor. |
getSensorCount | public int getSensorCount()(Code) | | Get the Tracker's sensorCount
this input device's sensor count. |
initialize | abstract public boolean initialize()(Code) | | Code to open and initialize the device
|
pollAndProcessInput | abstract public void pollAndProcessInput()(Code) | | Code to poll and process the device's input.
|
processStreamInput | abstract public void processStreamInput()(Code) | | Code to process the device's streaming input.
|
setButtonCount | void setButtonCount(int buttonCount)(Code) | | Set the Tracker's buttonCount
Parameters: buttonCount - the Tracker's new buttonCount |
setDeviceFilename | void setDeviceFilename(String deviceFilename)(Code) | | Set the Tracker's deviceFilename
Parameters: deviceFilename - the Tracker's new deviceFilename |
setNominalPositionAndOrientation | abstract public void setNominalPositionAndOrientation()(Code) | | 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 | public void setProcessingMode(int mode)(Code) | | Retrieve the Device's processing mode
|
setSensorCount | void setSensorCount(int sensorCount)(Code) | | Set the Tracker's sensorCount
Parameters: sensorCount - the Tracker's new sensorCount |
writeSerial | void writeSerial(String outString)(Code) | | Writes the specified string to the device.
Parameters: outString - the string to be output to this device. |
|
|