TQ3TrackerNotifyFunc
You can define a tracker notify function that QuickDraw 3D calls when a controller associated with a tracker has new data.
typedef TQ3Status (*TQ3TrackerNotifyFunc) ( TQ3TrackerObject trackerObject, TQ3ControllerRef controllerRef);
trackerObject- A tracker object.
controllerRef- A reference to a controller.
DESCRIPTION
YourTQ3TrackerNotifyFuncfunction is called whenever any controller associated with a tracker has new data to be processed and the data meets or exceeds the current position and orientation thresholds for the tracker. The affected controller and tracker are passed in thecontrollerRefandtrackerObjectparameters. Your tracker notify function might, for example, schedule your application to awaken and redraw the scene.SPECIAL CONSIDERATIONS
Your tracker notify function might be called at interrupt time, but it is never called reentrantly.RESULT CODES
Your tracker notify function should returnkQ3Successif it is successful andkQ3Failureotherwise.SEE ALSO
See the description ofQ3Tracker_Newon page 18-34 for information on setting the notify function of a tracker.