| java.lang.Object com.sun.j3d.utils.trackers.Tracker com.sun.j3d.utils.trackers.JavaOnePolhemusTracker
JavaOnePolhemusTracker | public class JavaOnePolhemusTracker extends Tracker (Code) | | NOTE: this class is very much out of date. It is using deprecated
and unimplemented 1.1 API constants (POLLED and STREAMING) that are
now gone in 1.2. The offending lines have been commented out
and marked with an "OBSOLETE:" comment.
The SharedMemoryPolhemusTracker Class defines the code to make a
sharedMemoryPolhemus input device work correctly
version: 1.5, 98/03/17 22:11:14 author: Henry Sowizral |
Method Summary | |
native int | ProcessStream(int sensorIndex, float PosOrient, int Buttons) | native int | StartUp(String filename, int sensorCount) | public boolean | initialize() Initializes the SharedMemoryPolhemus deviceFilename by opening the
device and sending the SharedMemoryPolhemus the initialization
information. | public void | pollAndProcessInput() Code to poll and then process the input from a sharedMemoryPolhemus. | public void | processStreamInput() Code to process the device's streaming input. | 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). |
ButtonArray | static int[] ButtonArray(Code) | | |
ButtonCount | final static int ButtonCount(Code) | | |
PositionOrientation | static float PositionOrientation(Code) | | |
SensorCount | final static int SensorCount(Code) | | |
currentSensor | int currentSensor(Code) | | |
deviceEulerAngles | Vector3d deviceEulerAngles(Code) | | |
deviceTranslateValues | Vector3d deviceTranslateValues(Code) | | |
headTrackingEnabled | boolean headTrackingEnabled(Code) | | |
newLocation | Vector3d newLocation(Code) | | |
newMatrix | Matrix3d newMatrix(Code) | | |
oldLocation | Vector3d oldLocation(Code) | | |
oldMatrix | Matrix3d oldMatrix(Code) | | |
pitchMat | Matrix3d pitchMat(Code) | | |
rollMat | Matrix3d rollMat(Code) | | |
sensorIndex | int sensorIndex(Code) | | |
tmpMatrix | Matrix3d tmpMatrix(Code) | | |
tmpVector | Vector3d tmpVector(Code) | | |
JavaOnePolhemusTracker | public JavaOnePolhemusTracker(View view, String deviceFilename, int mode, int sensorCount, int sensorIndex)(Code) | | Construct a new SharedMemoryPolhemusTracker
Parameters: view - the view object Parameters: mode - the mode of access one of POLLED or STREAMING Parameters: sensorCount - the number of sensors associated with thissharedMemoryPolhemus Parameters: buttonCount - the number of buttons associated with each sensor |
ProcessStream | native int ProcessStream(int sensorIndex, float PosOrient, int Buttons)(Code) | | |
StartUp | native int StartUp(String filename, int sensorCount)(Code) | | |
initialize | public boolean initialize()(Code) | | Initializes the SharedMemoryPolhemus deviceFilename by opening the
device and sending the SharedMemoryPolhemus the initialization
information.
Parameters: deviceFilename - the SharedMemoryPolhemus's deviceFilename |
pollAndProcessInput | public void pollAndProcessInput()(Code) | | Code to poll and then process the input from a sharedMemoryPolhemus.
|
processStreamInput | public void processStreamInput()(Code) | | Code to process the device's streaming input.
|
setMatrixFromValues | void setMatrixFromValues(float posOrient, Matrix3d Delta)(Code) | | Code to construct a delta Matrix from SharedMemoryPolhemus 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).
|
|
|