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
YourTQ3TrackerNotifyFunc
function 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 thecontrollerRef
andtrackerObject
parameters. 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 returnkQ3Success
if it is successful andkQ3Failure
otherwise.SEE ALSO
See the description ofQ3Tracker_New
on page 18-34 for information on setting the notify function of a tracker.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help