| java.lang.Object com.sun.j3d.utils.trackers.Tracker com.sun.j3d.utils.trackers.PolhemusTracker
PolhemusTracker | class PolhemusTracker extends Tracker (Code) | | A PolhemusTracker object encapsulates the Polhemus's I/O information
|
Constructor Summary | |
| PolhemusTracker(View view, String deviceFilename, int mode, int sensorCount, int buttonCount, int seonsorMask) |
Method Summary | |
native int | PollInput(int fd, float PosOrient, int Buttons) | native int | StartUp(int fd, int baudRate) | public boolean | initialize() | public boolean | initialize(int baudRate) Initializes the Polhemus deviceFilename by opening the
device and sending the Polhemus the initialization information. | native int | polhmeusOpen(String deviceFilename, int baudRate, int sensorMask) | public void | pollAndProcessInput() Code to poll and then process the input from a polhemus. | native void | pollPolhemus(int fd) | public void | processStreamInput() Code to process the device's streaming input. | native boolean | readUpdate(Vector3d deviceEulerAngles, Vector3d deviceTranslateValues) | void | setMatrixFromValues(float posOrient, Matrix3d Delta) | public 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). | void | updateSensorRead(Sensor sensor, float posOrient) Code to parse a Polhemus Record and update the associated sensor. |
ButtonArray | static int[] ButtonArray(Code) | | |
ButtonCount | final static int ButtonCount(Code) | | The number of buttons associated with this device.
|
PositionOrientation | static float PositionOrientation(Code) | | |
SensorCount | int SensorCount(Code) | | The number of sensors associated with this device.
|
deviceEulerAngles | Vector3d deviceEulerAngles(Code) | | Holds a sensor's Euler Angles
|
deviceTranslateValues | Vector3d deviceTranslateValues(Code) | | Holds a sensor's Position Information
|
fileDescriptor | int fileDescriptor(Code) | | This device's file descriptor index
|
newLocation | Vector3d newLocation(Code) | | |
newMatrix | Matrix3d newMatrix(Code) | | |
oldLocation | Vector3d oldLocation(Code) | | |
oldMatrix | Matrix3d oldMatrix(Code) | | |
rotationScale | static float rotationScale(Code) | | |
sensorMask | int sensorMask(Code) | | This device's sensor mask. Which sensor's to initialize.
|
tmpMatrix | Matrix3d tmpMatrix(Code) | | |
tmpVector | Vector3d tmpVector(Code) | | |
translationalScale | static float translationalScale(Code) | | |
PolhemusTracker | PolhemusTracker(View view, String deviceFilename, int mode, int sensorCount, int buttonCount, int seonsorMask)(Code) | | Construct a new PolhemusTracker, consisting of a
|
PollInput | native int PollInput(int fd, float PosOrient, int Buttons)(Code) | | |
StartUp | native int StartUp(int fd, int baudRate)(Code) | | |
initialize | public boolean initialize()(Code) | | Code to initialize the device
Parameters: deviceFilename - |
initialize | public boolean initialize(int baudRate)(Code) | | Initializes the Polhemus deviceFilename by opening the
device and sending the Polhemus the initialization information.
Parameters: deviceFilename - the Polhemus's deviceFilename Parameters: baudRate - the speed we want the Polhemus to run at |
polhmeusOpen | native int polhmeusOpen(String deviceFilename, int baudRate, int sensorMask)(Code) | | |
pollAndProcessInput | public void pollAndProcessInput()(Code) | | Code to poll and then process the input from a polhemus.
|
pollPolhemus | native void pollPolhemus(int fd)(Code) | | |
processStreamInput | public void processStreamInput()(Code) | | Code to process the device's streaming input.
|
readUpdate | native boolean readUpdate(Vector3d deviceEulerAngles, Vector3d deviceTranslateValues)(Code) | | |
setMatrixFromValues | void setMatrixFromValues(float posOrient, Matrix3d Delta)(Code) | | Code to construct a delta Matrix from Polhemus inputs
|
setNominalPositionAndOrientation | 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).
|
updateSensorRead | void updateSensorRead(Sensor sensor, float posOrient)(Code) | | Code to parse a Polhemus Record and update the associated sensor.
|
|
|