SoControllerReader Class |
Interface to trackdAPI (buttons, valuators).
Namespace: OIV.ScaleViz.Interaction
The SoControllerReader type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoControllerReader | Constructor. |
Name | Description | |
---|---|---|
![]() | ButtonChange | Returns information about changes of the state of the button identified by id. |
![]() | Equals | (Inherited from Object.) |
![]() | GetButton | Returns the value of button identified by id from the tracker daemon. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetNumberOfButtons | Returns the number of buttons the tracker daemon is storing. |
![]() | GetNumberOfValuators | Returns the number of valuators the tracker daemon is storing. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValuator | Returns value of the valuator identified by id from the tracker daemon. |
![]() | IsInitSuccess | Returns true if Inventor was able to retrieve all the trackdAPI functions. |
![]() | IsLoadSuccess | Returns true if libtrackd.so was loaded successfully. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
SoControllerReader is a class that interfaces to trackdAPI. It provides access functions to the states of buttons and valuators of VR input devices, e.g., the buttons and joystick of a wand. SoTrackerReader is instantiated by the SbConfig class, if the configuration file specifies the use of a tracking system (by providing shared memory keys). See SbConfig.getControllerReader.
NOTE: trackd from VRCO (www.vrco.com) is not included with Open Inventor. If trackd exists on the system, Open Inventor will dynamically load it at run time. See trackd documentation for information about the values returned.