| java.lang.Object com.sun.j3d.utils.trackers.Tracker com.sun.j3d.utils.trackers.LogitechTracker
LogitechTracker | public class LogitechTracker 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 LogitechTracker Class defines the code to make a logitech input
device work correclty
version: 1.11, 99/09/15 13:47:17 author: Henry Sowizral |
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) | | |
newLocation | Vector3d newLocation(Code) | | |
newMatrix | Matrix3d newMatrix(Code) | | |
oldLocation | Vector3d oldLocation(Code) | | |
oldMatrix | Matrix3d oldMatrix(Code) | | |
tmpMatrix | Matrix3d tmpMatrix(Code) | | |
tmpVector | Vector3d tmpVector(Code) | | |
LogitechTracker | public LogitechTracker(View view, String deviceFilename, int mode, int sensorCount, int buttonCount)(Code) | | Construct a new LogitechTracker
Parameters: view - the view object Parameters: mode - the mode of access one of POLLED or STREAMING Parameters: sensorCount - the number of sensors associated with this logitech Parameters: buttonCount - the number of buttons associated with each sensor |
LogitechTracker | public LogitechTracker(View view, String masterFilename, String slaveFilename, int mode, int sensorCount, int buttonCount)(Code) | | Construct a new LogitechTracker with a hand tracker
Parameters: view - the view object Parameters: masterFilename - the Logitech's master port device name Parameters: mode - the mode of access one of POLLED or STREAMING Parameters: sensorCount - the number of sensors associated with this logitech Parameters: buttonCount - the number of buttons associated with each sensor |
OpenSerialDeviceRaw | native int OpenSerialDeviceRaw(String filename, int baudRate)(Code) | | |
PollInput | native int PollInput(int fd, float PosOrient, int Buttons)(Code) | | |
ProcessStream | native int ProcessStream(int fd, float PosOrient, int Buttons)(Code) | | |
StartUpPolled | native int StartUpPolled(int fd)(Code) | | |
StartUpStreaming | native int StartUpStreaming(int fd)(Code) | | |
initialize | public boolean initialize()(Code) | | Code to initialize the device
Parameters: deviceFilename - |
initialize | public boolean initialize(int baudRate)(Code) | | Initializes the Logitech deviceFilename by opening the
device and sending the Logitech the initialization information.
Parameters: deviceFilename - the Logitech's deviceFilename Parameters: baudRate - the speed we want the Logitech to run at |
pollAndProcessInput | public void pollAndProcessInput()(Code) | | Code to poll and then process the input from a logitech.
|
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 Logitech 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).
|
|
|