Click or drag to resize
SoSceneManager Class

Manages scene graph rendering and event handling.

Inheritance Hierarchy

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

The SoSceneManager type exposes the following members.

Constructors
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.

Gets the antialiasing used for rendering.

Public methodGetAntialiasingEventListener

Returns the current antialiasing listener.

Public methodGetAntialiasingMode

Returns the antialiasing mode set using the setAntialiasing(float,AntialiasingMode) method.

Public methodGetAntialiasingParameters

Returns the antialiasing parameters set using the setAntialiasing(SoAntialiasingParameters*) method.

Public methodGetAntialiasingQuality

Returns the antialiasing quality set using the setAntialiasing(float,AntialiasingMode) method.

Public methodGetBackgroundColor

Gets the window background color when in RGB mode.

Public methodGetBackgroundColorRGBA
Public methodGetBackgroundIndex

Gets the window background color when in color index mode.

Public methodGetClearDepth
Public methodStatic memberGetDefaultRedrawPriority

Gets the default priority of the redraw sensor.

Public methodGetGLRenderAction

Gets the GLRenderAction used for rendering.

Public methodGetGLRenderAction(Int32)
Public methodGetHandleEventAction

Gets the HandleEventAction used.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetOrigin

Gets the origin of the viewport within the window.

Public methodGetRedrawPriority

Gets the priority of the redraw sensor.

Public methodGetSceneGraph

Gets the scene graph which is managed here.

Public methodGetSize

Gets the size of the viewport within the window.

Public methodGetStillSuperSamplingDelay
Public methodGetStillSuperSamplingQuality
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViewportRegion

Gets current viewport region used for rendering.

Public methodGetWindowSize

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

Public methodIsAutoInteractiveMode

Returns true if auto interactive mode is enabled.

Public methodIsAutoRedraw

Returns true if there is currently a render delegateregistered.

Public methodStatic memberIsRealTimeUpdateEnabled

Returns whether realTime global field updating is enabled.

Public methodIsRGBMode

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

Public methodProcessEvent

Processes the passed event by applying an SoHandleEventAction to the scene graph managed here.

Public methodReinitialize

Reinitializes graphics.

Public methodRender
Calls Render(true, true, System.Int32(0), false).
Public methodRender(Boolean)
Calls Render(clearWindow, true, System.Int32(0), false).
Public methodRender(Boolean, Boolean)
Calls Render(clearWindow, clearZbuffer, System.Int32(0), false).
Public methodRender(Boolean, Boolean, Int32)
Calls Render(clearWindow, clearZbuffer, id, false).
Public methodRender(Boolean, Boolean, Int32, Boolean)

Applies an SoGLRenderAction to the scene graph managed here.

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

Activate the auto interactive mode.

Public methodSetBackgroundColor

Sets 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

Sets the origin of the viewport within the window.

Public methodSetRedrawPriority

Sets the priority of the redraw sensor.

Public methodSetRenderCallback(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.
Public methodSetRenderCallback(SoSceneManagerRenderUserDataCB, Object) Obsolete.
Use RenderCallback property instead.
Public methodSetRGBMode

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

Public methodSetSceneGraph

Sets 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)

Sets the size of the viewport within the window.

Public methodSetStillSuperSampling

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

Public methodSetViewportRegion

Sets current viewport region to use for rendering.

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

Sets 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

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.

See Also