Q3Tracker_SetEventCoordinates
You can use theQ3Tracker_SetEventCoordinatesfunction to record the settings (coordinates) of a tracker at a particular time.
TQ3Status Q3Tracker_SetEventCoordinates ( TQ3TrackerObject trackerObject, unsigned long timeStamp, unsigned long buttons, const TQ3Point3D *position, const TQ3Quaternion *orientation);
trackerObject- A tracker object.
timeStamp- A time stamp.
buttons- The button state value of the specified tracker, or
NULL.position- The position of the specified tracker, or
NULL.orientation- The orientation (in radians) of the specified tracker, or
NULL.DESCRIPTION
TheQ3Tracker_SetEventCoordinatesfunction places into the ring buffer of event coordinates for the tracker specified by thetrackerObjectparameter the values specified in thebuttons,position, andorientationparameters. The event coordinates are marked with the time stamp specified by thetimeStampparameter. If the tracker's ring buffer is full, the oldest item in the buffer is discarded.
- Note
- A tracker's ring buffer can contain up to 10 items. Time stamps of items in the buffer increase from oldest to newest.
![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help