Click or drag to resize
SoControllerReader Class

Interface to trackdAPI (buttons, valuators).

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.ScaleViz.InteractionSoControllerReader

Namespace: OIV.ScaleViz.Interaction
Assembly: OIV.ScaleViz (in OIV.ScaleViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoControllerReader : SoNetBase

The SoControllerReader type exposes the following members.

Constructors
  NameDescription
Public methodSoControllerReader

Constructor.

Top
Methods
  NameDescription
Public methodButtonChange

Returns information about changes of the state of the button identified by id.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetButton

Returns the value of button identified by id from the tracker daemon.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumberOfButtons

Returns the number of buttons the tracker daemon is storing.

Public methodGetNumberOfValuators

Returns the number of valuators the tracker daemon is storing.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValuator

Returns value of the valuator identified by id from the tracker daemon.

Public methodIsInitSuccess

Returns true if Inventor was able to retrieve all the trackdAPI functions.

Public methodIsLoadSuccess

Returns true if libtrackd.so was loaded successfully.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

See Also