Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /


Chapter 5 - Attribute Objects

This chapter describes attribute objects (or attributes) and attribute sets. Attributes store information about the characteristics of the materials that make up the objects in a model. For example, you can attach an attribute to a geometric object that specifies the object's color. You can also attach an attribute to part of an object, for example to a vertex of a mesh. QuickDraw 3D provides a wide range of predefined attribute types, and you can define custom attribute types if you wish.

To use this chapter, you should already be familiar with the QuickDraw 3D class hierarchy, described in the chapter "QuickDraw 3D Objects" earlier in this book. To attach attribute sets to geometric objects, you should also be familiar with the routines described in the chapter "Geometric Objects" in this book.

This chapter begins by describing attributes and attribute sets. Then it shows how to create attribute sets and attach them to parts of a model. The section "Attribute Objects Reference," beginning on page 5-13 provides a complete description of attributes and attribute sets and of the routines you can use to create and manipulate them.


Chapter Contents
About Attribute Objects
Types of Attributes and Attribute Sets
Attribute Inheritance
Using Attribute Objects
Creating and Configuring Attribute Sets
Iterating Through an Attribute Set
Defining Custom Attribute Types
Attribute Objects Reference
Constants
Attribute Types
Attribute Objects Routines
Drawing Attributes
Creating and Managing Attribute Sets
Registering Custom Attributes
Application-Defined Routines
Summary of Attribute Objects
C Summary
Constants
Data Types
Attribute Objects Routines
Drawing Attributes
Creating and Managing Attribute Sets
Registering Custom Attributes
Application-Defined Routines
Errors

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help