Click or drag to resize
SoSceneManager Class

Manages scene graph rendering and event handling.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.InventorSoSceneManager

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SoSceneManager : SoNetBase

The SoSceneManager type exposes the following members.

Constructors
  NameDescription
Public methodSoSceneManager
Initializes a new instance of the SoSceneManager class
Public methodSoSceneManager(Int32) Obsolete.

Constructor.

Top
Methods
  NameDescription
Public methodActivate

Activates the scene manager.

Public methodDeactivate

Deactivates the scene manager.

Public methodStatic memberEnableRealTimeUpdate

Enables the realTime global field update which normally happen right after a redraw.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetAntialiasing Obsolete.
Public methodGetAntialiasingEventListener
Public methodGetAntialiasingMode

Returns the antialiasing mode set using the OIV.Inventor.SoSceneManager.SetAntialiasing(System.Single, OIV.Inventor.SoSceneManager.AntialiasingModes) method.

Public methodGetAntialiasingParameters
Public methodGetAntialiasingQuality

Returns the antialiasing quality set using the OIV.Inventor.SoSceneManager.SetAntialiasing(System.Single, OIV.Inventor.SoSceneManager.AntialiasingModes) method.

Public methodGetBackgroundColor
Public methodGetBackgroundColorRGBA
Public methodGetBackgroundIndex
Public methodGetClearDepth
Public methodStatic memberGetDefaultRedrawPriority

Gets the default priority of the redraw sensor.

Public methodGetGLRenderAction
Public methodGetGLRenderAction(Int32)
Public methodGetHandleEventAction
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetOrigin
Public methodGetRedrawPriority
Public methodGetSceneGraph
Public methodGetSize
Public methodGetStillSuperSamplingDelay
Public methodGetStillSuperSamplingQuality
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViewportRegion
Public methodGetWindowSize
Public methodIsAutoInteractiveMode
Public methodIsAutoRedraw

Returns true if there is currently a render delegateregistered.

Public methodStatic memberIsRealTimeUpdateEnabled
Public methodIsRGBMode
Public methodProcessEvent
Public methodReinitialize

Reinitializes graphics.

Public methodRender

Applies an OIV.Inventor.Actions.SoGLRenderAction to the scene graph managed here.

Public methodRender(Boolean) Obsolete.
Calls Render(clearWindow, true).
Public methodRender(Boolean, Boolean) Obsolete.
Public methodScheduleRedraw

Schedules a redraw for some time in the near future.

Public methodSetAntialiasing(Single)
Calls SetAntialiasing(quality, OIV.Inventor.SoSceneManager.AntialiasingModes( .SoSceneManager.AUTO )).
Public methodSetAntialiasing(SoAntialiasingParameters)

Enable (or disable) antialiasing with specific parameters.

Public methodSetAntialiasing(Boolean, Int32) Obsolete.

Enables smoothing and/or multi-pass antialiasing for rendering.

Public methodSetAntialiasing(Single, SoSceneManagerAntialiasingModes)

Enable (or disable) antialiasing with specified quality and mode.

Public methodSetAntialiasingEventListener

Sets an event listener which is called when the antialiasing configuration is modified.

Public methodSetAutoInteractiveMode

Defines the auto interactive mode.

Public methodSetBackgroundColor

Defines the window background color when in RGB mode.

Public methodSetBackgroundColorRGBA

Defines the window background color when in RGBA mode.

Public methodSetBackgroundIndex

Defines the window background color when in color index mode.

Public methodSetClearDepth

Defines the depth value used when the depth buffer is cleared.

Public methodSetGLRenderAction(SoGLRenderAction)

User supplied render action.

Public methodSetGLRenderAction(SoGLRenderAction, Int32)
Public methodSetHandleEventAction

User supplied handle event action.

Public methodSetInteractive

Indicates that the scene manager is in interactive mode or not.

Public methodSetOrigin

Defines the origin of the viewport within the window.

Public methodSetRedrawPriority

Sets the priority of the redraw sensor.

Public methodSetRGBMode

Defines the color mode (true - RGB mode, false - color map mode).

Public methodSetSceneGraph

Defines the scene graph which is managed here.

Public methodSetShareContext(SbGLShareContext)
Calls SetShareContext(sc, true).
Public methodSetShareContext(SbGLShareContext, Boolean)

Sets the OpenGL context to be shared by the scene manager.

Public methodSetSize(SbVec2s)
Calls SetSize(newSize, 1.0).
Public methodSetSize(SbVec2s, Single)

Defines the size of the viewport within the window.

Public methodSetStillSuperSampling

Set options for supersampling when "still" (not interacting).

Public methodSetViewportRegion

Defines current viewport region to use for rendering.

Public methodSetWindowSize(SbVec2s)
Calls SetWindowSize(newSize, 1.0).
Public methodSetWindowSize(SbVec2s, Single)

Defines the size of the window in which the scene manager should render.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateRealTimeSensor
Top
Properties
  NameDescription
Public propertyAbortRenderCallback

Setup a callback that returns true if rendering should be aborted.

Public propertyRenderCallback

The render callback provides a mechanism for automatically redrawing the scene in response to changes in the scene graph.

Top
Remarks

OIV.Inventor.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 OIV.Inventor.Win.SoWinRenderArea class employs an OIV.Inventor.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 OIV.Inventor.SoSceneManager class is available for programmers not using the SoXt / OIV.Inventor.Win.SoWin or SoQt libraries.

See Also