3D graphics classes

The 3D graphics classes and their referenced 3D geometry classes are shown in Figure 152. The graphics classes are wrappers for their referenced geometry classes. The graphics classes have functions that let you manipulate the geometry from within the graphic without accessing the geometry functions directly. The advantage to the wrapper architecture is that the 3D graphics classes bring together the functionality of the geometry classes and the highlevel functionality of the MGraphic3D class.

The 2-D geometry classes are based on the 2-D computational and point array classes described in Chapter 12.


This chapter describes the MGraphic3D derived classes and some of the geometry classes shown in Figure 152. In cases where the MGraphic3D derived class has all of the same functions as its corresponding geometry class, only the MGraphic3D derived class is described.

Also described in this chapter is the TSampledSurface geometry class. TSampledSurface has no corresponding MGraphic3D derived class. This class lets you model data such as fluid flow using discrete points. See the heading "Surfaces" on page 268 for more information.

When you want to create your own 3-D graphic, derive from MGraphic3D directly or from one of the MGraphic3D derived classes. The 3-D geometry classes are not intended to be derived from and customized. Information o how to create your own custom 2-D graphic is in Chapter 11. The same principles apply to customizing a 3-D graphic.

Include files
Constructors
Curves
Lines
Polylines
Surfaces
Sweeps

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker