Chapter 10. Handling Events and Selection

Table of Contents

Chapter Objectives. After reading this chapter, you'll be able to do the following:

This chapter describes the Open Inventor event model, which provides a simple mechanism for passing events such as a key press or mouse movement to objects in the database for processing. In much the same way a window system passes events to its client windows, Inventor passes events to database objects that can handle them. Important concepts introduced in this chapter include the Inventor programming model for event handling and the use of the SoXtRenderArea( C++ ), a widget that performs rendering and event handling on the Inventor database. The SoHandleEventAction( C++ | Java | .NET ) is discussed in detail, as well as the concepts of event callback functions, the selection node, and highlighting.