Implements the TrackerListener class to receive tracking information and tracking mode updates.
More...
Extend this class and implement its methods in order to receive tracking information and tracking mode updates from the PST Tracker. Examples on how to use this class and how to get data and modes from the PST Tracker can be found in the Examples section. Alternatively, Tracker.GetSingleMeasurement can be called to get the latest available tracking data.
- See also
- Tracker.AddTrackerListener, Tracker.RemoveTrackerListener, Tracker.GetSingleMeasurement
◆ OnTrackerData()
Implement the OnTrackerData method to receive tracking information from the PST Tracker.
- Parameters
-
trackerData | A TrackerData object containing the detected tracking targets and 3D markers. |
errorStatus | Return OK on success or ErrorStatus. |
- See also
- TrackerData
◆ OnTrackerMode()
virtual void PSTech.Pstsdk.TrackerListener.OnTrackerMode |
( |
ETrackerMode |
trackerMode | ) |
|
|
inlinevirtual |
Implement the OnTrackerMode method to receive updates on the mode of the PST Tracker. This function enables responding to the different PST Tracker mode changes enumerated by ETrackerMode as soon as they occur.
- Parameters
-
trackerMode | Current tracker mode code as ETrackerMode enumeration member. |
- See also
- ETrackerMode
The documentation for this class was generated from the following file:
- C:/CI/builds/aS8LEeTG/0/ps-tech/pst-distributor/pstsdk/csharp/src/Tracker.cs