Initializes nodekit classes. More...
#include <Inventor/nodekits/SoNodeKit.h>
Static Public Member Functions | |
static void | init () |
static void | finish () |
static void | threadInit () |
static void | threadFinish () |
static bool | isInitialized () |
Initializes nodekit classes.
This class is used to initialize all nodekit classes.
For standard single thread support, call the standard init() method. For multiple thread support, call threadInit().
SoAppearanceKit, SoBaseKit, SoCameraKit, SoInteraction, SoLightKit, SoNodeKitDetail, SoNodeKitListPart, SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSeparatorKit, SoShapeKit, SoWrapperKit, SoWin
static void SoNodeKit::finish | ( | ) | [static] |
Frees Open Inventor's internal static memory allocations.
This avoids false positives from memory leak checking software. We recommend calling this method and it should be the last Open Inventor method called by the application.
static void SoNodeKit::init | ( | ) | [static] |
Initialize all nodekit classes by registering them with the database.
This function needs to be called before any other nodekit class may be constructed or accessed. Note that this is called automatically by SoInteraction::init() and SoWin::init(), so if you have made either of these calls, there is no need to call SoNodeKit::init() directly.
static bool SoNodeKit::isInitialized | ( | ) | [static] |
static void SoNodeKit::threadFinish | ( | ) | [static] |
static void SoNodeKit::threadInit | ( | ) | [static] |
Initialize all nodekit classes with multiple thread support.
This function needs to be called before any other nodekit class may be constructed or accessed. Note that this is called automatically by SoInteraction::threadInit() and SoWin::threadInit(), so if you have made either of these calls, there is no need to call SoNodeKit::threadInit() directly.
Note : Although it's only necessary to call init() once in a single-threaded program, in a multithreaded program, every thread that uses Open Inventor classes must call threadInit().