Table of Contents
This chapter describes how to create new subclasses of SoEngine( C++ | Java | .NET ). New concepts introduced in this chapter include how notification of changes in field data propagates through the scene graph and how to block notification if desired. Be sure you are familiar with Chapter 15, Engines before you continue in this chapter.
The first part of this chapter offers an overview of the steps required to create a new engine. When necessary, additional sections explain key concepts in further detail and list the relevant macros. Chapter examples show how to create six engine classes:
A simple engine called MultFloatVec3f
An engine with multiple inputs called SoComposeVec2f( C++ | Java | .NET )
An engine with multiple outputs called SoDecomposeVec2f( C++ | Java | .NET )
An engine that simulates fanning in of multiple connections called FanIn
An engine that controls propagation of its output value called Ticker
A field converter engine called ConvertSFShortToSFFloat