Chapter 2 - 3D Viewer
This chapter describes the 3D Viewer, which provides a high-level interface for displaying 3D objects and other data in a window and allowing users limited interaction with those objects. You can use the functions described here to present 3D data (stored either in a file or in memory) to users quickly and easily. The 3D Viewer provides controls with which the user can manipulate several aspects of the displayed data, such as the point of view.To use this chapter, you should already be familiar with the basic capabilities of QuickDraw 3D, as described in the first sections of the chapter "Introduction to QuickDraw 3D" earlier in this book.
- IMPORTANT
- The 3D Viewer allows you to display 3D data in metafiles (or in memory) with minimal programming effort. It is analogous to the movie controller provided with QuickTime, which allows you, also with minimal programming effort, to display and allow users to control movies. If your application needs more advanced rendering or interaction capabilities, or if you want to allow users to create and manipulate objects dynamically, you should use the lower-level QuickDraw 3D application programming interfaces instead of the higher-level 3D Viewer programming interfaces.
Chapter Contents
- About the 3D Viewer
- Controller Strips
- Badges
- Using the 3D Viewer
- Checking for the 3D Viewer
- Creating a Viewer
- Attaching Data to a Viewer
- Handling Viewer Events
- 3D Viewer Reference
- Constants
- Gestalt Selector and Response Values
- Viewer Flags
- Viewer State Flags
- 3D Viewer Routines
- Creating and Configuring Viewers
- Updating Viewer Data
- Handling Viewer Events
- Getting Viewer Information
- Handling Edit Commands
- Summary of the 3D Viewer
- C Summary
- Constants
- Gestalt Selector and Response Values
- Viewer Flags
- Viewer State Flags
- Data Types
- 3D Viewer Routines
- Creating and Configuring Viewers
- Updating Viewer Data
- Handling Viewer Events
- Getting Viewer Information
- Handling Edit Commands
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help