| java.lang.Object com.sun.j3d.utils.trackers.Tracker com.sun.j3d.utils.trackers.SharedMemoryMagellanTracker
SharedMemoryMagellanTracker | public class SharedMemoryMagellanTracker extends Tracker (Code) | | A SharedMemoryMagellanTracker object encapsulates the SharedMemoryMagellan's I/O information
|
Method Summary | |
native int | ProcessStream(int sensorIndex, float PosOrient, int Buttons) | void | SVD(Matrix3d matArg) | native int | StartUp(String filename) | public boolean | initialize() | public boolean | initialize(int baudRate) Initializes the SharedMemoryMagellan deviceFilename by opening the
device and sending the SharedMemoryMagellan the initialization information. | public void | pollAndProcessInput() Code to poll and then process the input from a sharedMemoryMagellan. | 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) | | |
newLocation | Vector3d newLocation(Code) | | |
newMatrix | Matrix3d newMatrix(Code) | | |
oldLocation | Vector3d oldLocation(Code) | | |
oldMatrix | Matrix3d oldMatrix(Code) | | |
tmpMatrix | Matrix3d tmpMatrix(Code) | | |
tmpVector | Vector3d tmpVector(Code) | | |
SharedMemoryMagellanTracker | public SharedMemoryMagellanTracker(PhysicalEnvironment env, String deviceFilename, int mode, int sensorCount, int buttonCount)(Code) | | Construct a new SharedMemoryMagellanTracker
Parameters: env - the PhysicalEnvironment object Parameters: mode - the mode of access one of POLLED or STREAMING Parameters: sensorCount - the number of sensors associated with this sharedMemoryMagellan Parameters: buttonCount - the number of buttons associated with each sensor |
SharedMemoryMagellanTracker | public SharedMemoryMagellanTracker(PhysicalEnvironment env, String masterFilename, String slaveFilename, int mode, int sensorCount, int buttonCount)(Code) | | Construct a new SharedMemoryMagellanTracker with a hand tracker
Parameters: env - the PhysicalEnvironment object Parameters: masterFilename - the SharedMemoryMagellan'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 sharedMemoryMagellan Parameters: buttonCount - the number of buttons associated with each sensor |
ProcessStream | native int ProcessStream(int sensorIndex, float PosOrient, int Buttons)(Code) | | |
SVD | void SVD(Matrix3d matArg)(Code) | | |
initialize | public boolean initialize()(Code) | | Code to initialize the device
Parameters: deviceFilename - |
initialize | public boolean initialize(int baudRate)(Code) | | Initializes the SharedMemoryMagellan deviceFilename by opening the
device and sending the SharedMemoryMagellan the initialization information.
Parameters: deviceFilename - the SharedMemoryMagellan's deviceFilename Parameters: baudRate - the speed we want the SharedMemoryMagellan to run at |
pollAndProcessInput | public void pollAndProcessInput()(Code) | | Code to poll and then process the input from a sharedMemoryMagellan.
|
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 SharedMemoryMagellan 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).
|
|
|