| SoSceneManager Class |
Manages scene graph rendering and event handling.
Namespace: OIV.Inventor
The SoSceneManager type exposes the following members.
| Name | Description | |
|---|---|---|
| SoSceneManager | Calls SoSceneManager(1). | |
| SoSceneManager(Int32) | Constructor. |
| Name | Description | |
|---|---|---|
| Activate | Activates the scene manager. | |
| Deactivate | Deactivates the scene manager. | |
| EnableRealTimeUpdate | Enables the realTime global field update which normally happen right after a redraw. | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetAntialiasing | Obsolete. Gets the antialiasing used for rendering. | |
| GetAntialiasingEventListener | Returns the current antialiasing listener. | |
| GetAntialiasingMode | Returns the antialiasing mode set using the setAntialiasing(float,AntialiasingMode) method. | |
| GetAntialiasingParameters | Returns the antialiasing parameters set using the setAntialiasing(SoAntialiasingParameters*) method. | |
| GetAntialiasingQuality | Returns the antialiasing quality set using the setAntialiasing(float,AntialiasingMode) method. | |
| GetBackgroundColor | Gets the window background color when in RGB mode. | |
| GetBackgroundColorRGBA | ||
| GetBackgroundIndex | Gets the window background color when in color index mode. | |
| GetClearDepth | ||
| GetDefaultRedrawPriority | Gets the default priority of the redraw sensor. | |
| GetGLRenderAction | Gets the GLRenderAction used for rendering. | |
| GetGLRenderAction(Int32) | ||
| GetHandleEventAction | Gets the HandleEventAction used. | |
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetOrigin | Gets the origin of the viewport within the window. | |
| GetRedrawPriority | Gets the priority of the redraw sensor. | |
| GetSceneGraph | Gets the scene graph which is managed here. | |
| GetSize | Gets the size of the viewport within the window. | |
| GetStillSuperSamplingDelay | ||
| GetStillSuperSamplingQuality | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetViewportRegion | Gets current viewport region used for rendering. | |
| GetWindowSize | Gets the size of the window in which the scene manager should render. | |
| IsAutoInteractiveMode | Returns true if auto interactive mode is enabled. | |
| IsAutoRedraw | Returns true if there is currently a render delegateregistered. | |
| IsRealTimeUpdateEnabled | Returns whether realTime global field updating is enabled. | |
| IsRGBMode | Gets the color mode (true - RGB mode, false - color map mode). | |
| ProcessEvent | Processes the passed event by applying an SoHandleEventAction to the scene graph managed here. | |
| Reinitialize | Reinitializes graphics. | |
| Render | Calls Render(true, true, System.Int32(0), false). | |
| Render(Boolean) | Calls Render(clearWindow, true, System.Int32(0), false). | |
| Render(Boolean, Boolean) | Calls Render(clearWindow, clearZbuffer, System.Int32(0), false). | |
| Render(Boolean, Boolean, Int32) | Calls Render(clearWindow, clearZbuffer, id, false). | |
| Render(Boolean, Boolean, Int32, Boolean) | Applies an SoGLRenderAction to the scene graph managed here. | |
| ScheduleRedraw | Schedules a redraw for some time in the near future. | |
| SetAntialiasing(Single) | Calls SetAntialiasing(quality, OIV.Inventor.SoSceneManager.AntialiasingModes( .SoSceneManager.AUTO )). | |
| SetAntialiasing(SoAntialiasingParameters) | Enable (or disable) antialiasing with specific parameters. | |
| SetAntialiasing(Boolean, Int32) | Obsolete. Enables smoothing and/or multi-pass antialiasing for rendering. | |
| SetAntialiasing(Single, SoSceneManagerAntialiasingModes) | Enable (or disable) antialiasing with specified quality and mode. | |
| SetAntialiasingEventListener | Sets an event listener which is called when the antialiasing configuration is modified. | |
| SetAutoInteractiveMode | Activate the auto interactive mode. | |
| SetBackgroundColor | Sets the window background color when in RGB mode. | |
| SetBackgroundColorRGBA | Defines the window background color when in RGBA mode. | |
| SetBackgroundIndex | Defines the window background color when in color index mode. | |
| SetClearDepth | Defines the depth value used when the depth buffer is cleared. | |
| SetGLRenderAction(SoGLRenderAction) | User supplied render action. | |
| SetGLRenderAction(SoGLRenderAction, Int32) | ||
| SetHandleEventAction | User supplied handle event action. | |
| SetInteractive | Indicates that the scene manager is in interactive mode or not. | |
| SetOrigin | Sets the origin of the viewport within the window. | |
| SetRedrawPriority | Sets the priority of the redraw sensor. | |
| SetRenderCallback(SoSceneManagerRenderCB) | Obsolete.
Use RenderCallback property instead.
The render delegate provides a mechanism for automatically redrawing the scene
in response to changes in the scene graph.
| |
| SetRenderCallback(SoSceneManagerRenderUserDataCB, Object) | Obsolete.
Use RenderCallback property instead.
| |
| SetRGBMode | Sets the color mode (true - RGB mode, false - color map mode). | |
| SetSceneGraph | Sets the scene graph which is managed here. | |
| SetShareContext(SbGLShareContext) | Calls SetShareContext(sc, true). | |
| SetShareContext(SbGLShareContext, Boolean) | Sets the OpenGL context to be shared by the scene manager. | |
| SetSize(SbVec2s) | Calls SetSize(newSize, 1.0). | |
| SetSize(SbVec2s, Single) | Sets the size of the viewport within the window. | |
| SetStillSuperSampling | Set options for supersampling when "still" (not interacting). | |
| SetViewportRegion | Sets current viewport region to use for rendering. | |
| SetWindowSize(SbVec2s) | Calls SetWindowSize(newSize, 1.0). | |
| SetWindowSize(SbVec2s, Single) | Sets the size of the window in which the scene manager should render. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateRealTimeSensor |
| Name | Description | |
|---|---|---|
| AbortRenderCallback | Setup a callback that returns true if rendering should be aborted. | |
| RenderCallback | The render callback provides a mechanism for automatically redrawing the scene in response to changes in the scene graph. |
SoSceneManager provides Open Inventor rendering and event handling inside a window provided by the caller. The scene manager is able to render in only a portion of a window if desired. The SoWinRenderArea class employs an SoSceneManager, and handles most all the details for setting up a window, converting Windows messages to Open Inventor events, automatically redrawing the scene when necessary, and so on. It is simplest to use a render area when rendering in an entire window. The SoSceneManager class is available for programmers not using the SoXt / SoWin / SoQt or SoWx libraries.