SoSceneManager.3coin3 man page

SoSceneManager — The SoSceneManager class provides the main interface between the scene graph and the GUI toolkit.

The renderarea class from the GUI toolkit you are using uses this class as the interface against the scene graph. Event handling and providing 'hooks' to do rendering are the main functions of the class.

The SoSceneManager class provides the main interface between the scene graph and the GUI toolkit.

The renderarea class from the GUI toolkit you are using uses this class as the interface against the scene graph. Event handling and providing 'hooks' to do rendering are the main functions of the class.

A Coin library instance within an application will typically contain a single SoSceneManager object. The pointer for this object is stored in the GUI renderarea class.

If clearwindow is TRUE, clear the rendering buffer before drawing. If clearzbuffer is TRUE, clear the depth buffer values before rendering. Both of these arguments should normally be TRUE, but they can be set to FALSE to optimize for special cases (e.g. when doing wireframe rendering one doesn't need a depth buffer).

Set the node which is top of the scene graph we're managing. The sceneroot node reference count will be increased by 1, and any previously set scene graph top node will have it's reference count decreased by 1.

Set whether or not for SoSceneManager instances to 'touch' the global realTime field after a redraw. If this is not done, redrawing when animating the scene will only happen as fast as the realTime interval goes (which defaults to 12 times a second).