| java.lang.Object com.sun.j3d.utils.trackers.Tracker com.sun.j3d.utils.trackers.MagellanTracker
All known Subclasses: com.sun.j3d.utils.trackers.FakespaceMagellanTracker,
MagellanTracker | public class MagellanTracker extends Tracker (Code) | | A MagellanTracker object encapsulates the Magellan's I/O information
|
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 Magellan deviceFilename by opening the
device and sending the Magellan the initialization information. | public void | pollAndProcessInput() Code to poll and then process the input from a magellan. | 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). | void | updateSensorRead(Sensor sensor, float posOrient, int buttons) Code to parse a Magellan Record and update the associated sensor. |
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) | | |
initializationString | final static String initializationString(Code) | | |
newLocation | Vector3d newLocation(Code) | | |
newMatrix | Matrix3d newMatrix(Code) | | |
noExtraSensitivity | final static String noExtraSensitivity(Code) | | |
oldLocation | Vector3d oldLocation(Code) | | |
oldMatrix | Matrix3d oldMatrix(Code) | | |
rotationScale | static float rotationScale(Code) | | |
sendTranslateAndRotate | final static String sendTranslateAndRotate(Code) | | |
tmpMatrix | Matrix3d tmpMatrix(Code) | | |
tmpVector | Vector3d tmpVector(Code) | | |
translationalScale | static float translationalScale(Code) | | |
MagellanTracker | public MagellanTracker(View view, String deviceFilename, int mode, int sensorCount, int buttonCount)(Code) | | Construct a new MagellanTracker
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 magellan Parameters: buttonCount - the number of buttons associated with each sensor |
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 Magellan deviceFilename by opening the
device and sending the Magellan the initialization information.
Parameters: deviceFilename - the Magellan's deviceFilename Parameters: baudRate - the speed we want the Magellan to run at |
pollAndProcessInput | public void pollAndProcessInput()(Code) | | Code to poll and then process the input from a magellan.
|
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 Magellan 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, int buttons)(Code) | | Code to parse a Magellan Record and update the associated sensor.
|
|
|