3D Graphics Framework
Aggregate Data Types
Simplify 3D objects and data visualization with industry-standard OpenGL support.
The Graphics class supports and simplifies 3D graphics programming in OpenGL. The intrinsic attributes in the Right Pane contain operational data for the graphic view managed by SansGUI. They are manipulated by 3D graphics routines in the derived class, Solid in this case.
Four abstract graphic functions are mapped to SansGUI class function entry points:
Initialize: mapped to the SG_xBgnRun function to set up the rendering context, clear color, shading model, etc.
Reshape: mapped to the SG_xPreEval function to handle view port and projection changes when the graphic window is resized.
Select: mapped to the SG_xEval function to respond to user's selection.
Display: mapped to the SG_xPostEval function to render the 3D graphic scene.
The Graphics class supports multi-threaded, multi-window management and interactive 3D graphics operations, such as translation, rotation, zooming in and out, and user selection. In addition, the 3D graphic view can be printed, copy to clipboard, and exported to bitmap or JPEG image files. Please see 3D Graphics Visualization for run-time environment examples.
SansGUI Modeling and Simulation Environment version 1.2
Copyright © 2000-2003 ProtoDesign, Inc. All rights reserved.