This book is for the advanced programmer and describes how to create new Inventor classes and how to customize existing classes in the Open Inventor Toolkit.
The Inventor Toolmaker contains the two following sets of chapters:
Extending Database Classes:
- Key Concepts, Key Concepts, describes important background information on the Open Inventor Toolkit that was not needed in * Open Inventor Mentor Core*. It introduces concepts such as the method list, state and elements, the stack index, caching, runtime typing, and using extender macros. If you are creating any database class (described in Chapters 2 through 6), it is required reading.
- Creating a Node, Creating a Node, describes how to create new subclasses of SoNode. Examples show creating a new property node class, shape node class, and group node class.
- Creating a Field, Creating a Field, describes how to create new subclasses of SoField, including single-value and multiple-value fields.
- Creating an Action, Creating an Action, describes how to create new subclasses of SoAction.
- Creating an Element, Creating an Element, describes how to create new subclasses of SoElement.
- Creating an Engine, Creating an Engine, describes how to create new subclasses of SoEngine, including new field converters. It also explains how notification of changes in field data propagates through the scene graph.
- Creating a Node Kit, Creating a Node Kit, describes how to create new subclasses of SoBaseKit.
Extending Interaction Classes
- Creating Draggers and Manipulators, Creating Draggers and Manipulators, describes how to create new subclasses of SoDragger as well as new manipulators, which are derived from other node classes such as SoTransform, SoLight, or SoCamera. If you are creating a new dragger, you'll need to read Creating a Node Kit as well, because draggers are node kits.
- Creating a Selection Highlight Style, Creating a Selection Highlight Style, describes how to create new subclasses of SoGLRenderAction to perform selection highlighting. If you're creating a new highlight class, you'll need to read Creating an Action, because highlight classes are derived from an action class, SoGLRenderAction.
- Creating a Component, Creating a Component, describes how to create new components. Examples show creating a simple component derived from SoXtRenderArea as well as a simple viewer.
- Creating an Event and Device, Creating an Event and Device, describes how to create a new event and a new Xt device. The chapter also describes how to translate X events into Inventor events.
- Creating a gesture event and recognizer, Creating an Gesture Event and Recognizer, describes how to create a new gesture event and its corresponding recognizer.