2.5. Include Files

Inventor contains include files for every class. You need to include the appropriate file for each class used in your program. For example, SoSphere SoSphere SoSphere and SoTransform SoTransform SoTransform nodes require you to include the files SoSphere.h and SoTransform.h.Most include files are found in a subdirectory—for example, nodes/SoSphere.h and sensors/SoNodeSensor.h.

In addition, you need to include the SoXt.h file if you are writing an interactive program that uses the Inventor Component Library.

If you are programming using the C application programming interface, use the Inventor_c directory instead of the Inventor directory.