Click or drag to resize
SoWinRenderArea Methods

The SoWinRenderArea type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAddHook
Adds an event handler that receives all messages dispatched to this window.
(Inherited from SoWinGLWidget.)
Public methodBindNormalContext

Makes the normal rendering context the current context.

(Inherited from SoWinGLWidget.)
Public methodCopyWindowBits
(Inherited from SoWinGLWidget.)
Public methodDispose
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFlush
(Inherited from SoWinGLWidget.)
Public methodGetAntialiasing Obsolete.

Gets the antialiasing used for rendering.

Public methodGetAntialiasingMode

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

(Inherited from SoWinGLWidget.)
Public methodGetAntialiasingParameters

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

(Inherited from SoWinGLWidget.)
Public methodGetAntialiasingQuality

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

(Inherited from SoWinGLWidget.)
Public methodGetBackgroundColor

Gets the background color for this window.

Public methodGetBackgroundIndex

Gets the window background color when in color index mode.

Public methodGetBorderSize

Included for portability only.

(Inherited from SoWinGLWidget.)
Public methodGetClassName

Returns the class name.

(Inherited from SoWinComponent.)
Public methodGetCursor Obsolete.

Returns the current cursor.

(Inherited from SoWinGLWidget.)
Public methodStatic memberGetDefaultRedrawPriority

Gets the default priority number of the redraw sensor.

Public methodGetFastEditSavePolicy

Returns fast editing save policy used when rendering.

Public methodGetFloatingColorBuffer

Returns true if floating point rendering is used and its precision.

Public methodGetFullSceneAntialiasing Obsolete.

Returns true if FSAA is currently enabled.

(Inherited from SoWinGLWidget.)
Public methodGetGLRenderAction

Gets the GL render action to use.

Public methodGetGraphicConfigTemplate
(Inherited from SoWinGLWidget.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetIconTitle

Included for portability only.

(Inherited from SoWinComponent.)
Public methodGetInvalidateCacheMode

Returns the current cache invalidation mode.

Public methodGetMPEGRecorder

Returns the recorder used for MPEG encoding.

Public methodGetNormalDC

Returns the device context (which is needed for SbGlContextHelper.makeCurrent).

(Inherited from SoWinGLWidget.)
Public methodGetNormalSoContext
(Inherited from SoWinGLWidget.)
Public methodGetOverlayBackgroundIndex Obsolete.

Gets the overlay window background color index.

Public methodGetOverlayDC Obsolete.

Returns the overlay device context (which is needed for SbGlContextHelper.makeCurrent).

(Inherited from SoWinGLWidget.)
Public methodGetOverlayGLRenderAction Obsolete.

Gets the GL render action for the overlay window.

Public methodGetOverlaySceneGraph Obsolete.

Gets the scene graph to be rendered in the overlay plane.

Public methodGetOverlaySceneManager Obsolete.

Gets the overlay plane scene manager.

Public methodGetOverlaySoContext Obsolete.

Obsoletesince Open Inventor 9610 Overlay feature is legacy, and no longer makes sense with current hardware.

(Inherited from SoWinGLWidget.)
Public methodGetPixelFormat

Returns the current pixel format.

(Inherited from SoWinGLWidget.)
Public methodGetRedrawPriority

Gets the priority of the redraw sensor.

Public methodGetSceneGraph

Gets the scene graph to be rendered in this component's window.

Public methodGetSceneManager

Gets the normal scene manager.

Public methodGetShareContext
Public methodGetSize

Convenience routine on the window handle.

(Inherited from SoWinComponent.)
Public methodGetSortedTrianglesNumCaches

Returns the maximum number of caches allowed for the sorted triangles transparency types.

Public methodGetSortedTrianglesSortFrequency

Returns the sort frequency used for the SORTED_TRIANGLES_XXX and SORTED_OBJECT_TRIANGLES_XXX transparency types.

Public methodGetTitle

Gets window title.

(Inherited from SoWinComponent.)
Public methodGetTransparencyType

Gets the algorithm for rendering transparent objects.

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

Gets current viewport region to use for rendering.

Public methodGetWidgetName

Returns the window handle name.

(Inherited from SoWinComponent.)
Public methodHide

This hides the component.

(Inherited from SoWinComponent.)
Public methodIsAutoRedraw

Queries whether the render area will automatically redraw whenever something in the scene graph changes.

Public methodIsBorder

Included for portability only.

(Inherited from SoWinGLWidget.)
Public methodIsClearBeforeOverlayRender Obsolete.

Queries whether the overlay window will be cleared before rendering starts.

Public methodIsClearBeforeRender

Queries whether the window will be cleared before rendering starts.

Public methodIsClearZBufferBeforeRender

Queries whether the depth buffer (sometimes called the Z buffer) will be cleared before rendering starts.

Public methodIsDoubleBuffer

Returns whether double buffering is on or off.

(Inherited from SoWinGLWidget.)
Public methodIsDrawToFrontBufferEnable

Returns whether drawing to the front buffer is enabled.

(Inherited from SoWinGLWidget.)
Public methodStatic memberIsFloatingColorBufferSupported

Returns true if floating point rendering is available.

Public methodIsFsaaSupported Obsolete.

Obsoletesince Open Inventor 8100 Method has been renamed.

(Inherited from SoWinGLWidget.)
Public methodIsFullSceneAntialiasingAvailable Obsolete.

Returns true if FSAA is supported by current pixel format.

(Inherited from SoWinGLWidget.)
Public methodIsFullSceneAntialiasingEnabled Obsolete.

Returns true, if full-scene antialiasing (FSAA) is enabled.

(Inherited from SoWinGLWidget.)
Public methodIsFullSceneAntialiasingHQAvailable Obsolete.

Returns true if high quality full-scene antialiasing (FSAA) is available.

(Inherited from SoWinGLWidget.)
Public methodIsFullSceneAntialiasingHQEnabled Obsolete.

Returns true if the high quality mode for full-scene antialiasing (FSAA) is enabled.

(Inherited from SoWinGLWidget.)
Public methodIsFullScreen

Queries if the viewer is in fullscreen mode.

(Inherited from SoWinComponent.)
Public methodIsFullScreenEnable

Queries if it is possible to put the viewer in fullscreen mode.

(Inherited from SoWinComponent.)
Public methodIsTopLevelShell

Returns true if this component is a top level shell component (has its own window).

(Inherited from SoWinComponent.)
Public methodIsVisible

Returns true if this component is mapped onto the screen.

(Inherited from SoWinComponent.)
Public methodMakeNormalCurrent Obsolete.

Makes the normal rendering context the current context.

(Inherited from SoWinGLWidget.)
Public methodRedrawOnSelectionChange

Call this convenience method to have this render area redraw whenever the selection list changes in the passed node.

Public methodRedrawOverlayOnSelectionChange Obsolete.

Call this convenience method to have this render area overlay planes redraw whenever the selection list changes in the passed node.

Public methodRegisterDevice

Registers interest in devices.

Public methodRemoveHook
Removes the event handlers that were added by AddHook.
(Inherited from SoWinGLWidget.)
Public methodRender

Calling this forces the render area to be redrawn now.

Public methodRenderOverlay Obsolete.

Calling this forces the render area overlay planes to be redrawn now.

Public methodSaveSnapshot(String)
Calls SaveSnapshot(filename, true).
(Inherited from SoWinGLWidget.)
Public methodSaveSnapshot(String, Boolean)

Save a snapshot of the current image displayed in the viewer.

(Inherited from SoWinGLWidget.)
Public methodScheduleOverlayRedraw Obsolete.

Schedules a redraw of the overlay planes to happen sometime soon (as opposed to immediately).

Public methodScheduleRedraw

Schedules a redraw to happen sometime soon (as opposed to immediately).

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

Enable (or disable) antialiasing with specific parameters.

(Inherited from SoWinGLWidget.)
Public methodSetAntialiasing(Single, SoSceneManagerAntialiasingModes)

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

(Inherited from SoWinGLWidget.)
Public methodSetAntialiasing(Boolean, Int32) Obsolete.

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

Public methodSetAutoRedraw

The render area will automatically redraw whenever something in the scene graph changes.

Public methodSetBackgroundColor

Sets the background color for this window.

Public methodSetBackgroundIndex

Sets the window background color when in color index mode.

Public methodSetBorder

Included for portability only.

(Inherited from SoWinGLWidget.)
Public methodSetClearBeforeOverlayRender Obsolete.

Enables/prevents overlay window clearing from happening before a rendering starts (default is clear true).

Public methodSetClearBeforeRender(Boolean)
Calls SetClearBeforeRender(trueOrFalse, true).
Public methodSetClearBeforeRender(Boolean, Boolean)

Enables/prevents window clearing from happening before a rendering starts (default is clear true).

Public methodSetColorMap

Sets the colors to use when displaying in color index mode.

Public methodSetCursor Obsolete.

Sets the current cursor.

(Inherited from SoWinGLWidget.)
Public methodSetDoubleBuffer

Routine that dynamically changes between single and double buffering.

(Inherited from SoWinGLWidget.)
Public methodSetDrawToFrontBufferEnable

Sets drawing to the front buffer.

(Inherited from SoWinGLWidget.)
Public methodSetEventCallback(SoWinRenderAreaEventCallback) Obsolete.
Public methodSetEventCallback(SoWinRenderAreaEventUserDataCallback, Object) Obsolete.
Public methodSetFastEditSavePolicy(SoGLRenderActionFastEditSavePolicies)
Calls SetFastEditSavePolicy(policy, false).
Public methodSetFastEditSavePolicy(SoGLRenderActionFastEditSavePolicies, Boolean)

Sets fast editing save policy to use when rendering.

Public methodSetFloatingColorBuffer(Boolean)
Calls SetFloatingColorBuffer(enable, OIV.Inventor.Win.SoWinGLWidget.FloatColorBufferSizes( .SoWinGLWidget.FLOAT_16_COLOR_BUFFER )).
Public methodSetFloatingColorBuffer(Boolean, SoWinGLWidgetFloatColorBufferSizes)

Enables/disables floating point rendering using 16- or 32-bit components.

Public methodSetFullSceneAntialiasing(Boolean) Obsolete.
Calls SetFullSceneAntialiasing(enable, -1.0, SoFullSceneAntialiasing.ALL).
(Inherited from SoWinGLWidget.)
Public methodSetFullSceneAntialiasing(Boolean, Single) Obsolete.
Calls SetFullSceneAntialiasing(enable, quality, SoFullSceneAntialiasing.ALL).
(Inherited from SoWinGLWidget.)
Public methodSetFullSceneAntialiasing(Boolean, Single, Int32) Obsolete.
(Inherited from SoWinGLWidget.)
Public methodSetFullSceneAntialiasingHQ Obsolete.

Enables or disables the high quality mode for full-scene antialiasing (FSAA).

(Inherited from SoWinGLWidget.)
Public methodSetFullScreen

Switches the viewer into (or out of) fullscreen mode.

(Inherited from SoWinComponent.)
Public methodSetFullScreenEnable

Enables/disables fullscreen mode.

(Inherited from SoWinComponent.)
Public methodSetGLRenderAction

Sets the GL render action to use.

Public methodSetGraphicConfigTemplate

Sets a new graphics configuration template.

(Inherited from SoWinGLWidget.)
Public methodSetIconTitle

Included for portability only.

(Inherited from SoWinComponent.)
Public methodSetInvalidateCacheMode

Enables or disables the invalidation of render caches.

Public methodSetMPEGRecorder

Sets the recorder used for MPEG encoding.

Public methodSetOverlayBackgroundIndex Obsolete.

Sets the overlay window background color index.

Public methodSetOverlayColorMap Obsolete.

Sets the colors to use for overlay bit planes.

Public methodSetOverlayGLRenderAction Obsolete.

Sets the GL render action for the overlay window.

Public methodSetOverlaySceneGraph Obsolete.

Sets the scene graph to be rendered in the overlay plane.

Public methodSetOverlaySceneManager Obsolete.

Sets the overlay plane scene manager.

Public methodSetPixelFormat

Sets the current pixel format.

(Inherited from SoWinGLWidget.)
Public methodSetPostRenderCallback(SoWinRenderAreaRenderCallback) Obsolete.
Use PostRenderCallback property instead.
Public methodSetPostRenderCallback(SoWinRenderAreaRenderUserDataCallback, Object) Obsolete.
Public methodSetRedrawPriority

Sets the priority of the redraw sensor.

Public methodSetSceneGraph

Sets the scene graph to be rendered in this component's window.

Public methodSetSceneManager

Sets the normal scene manager.

Public methodSetSize

Convenience routine on the window handle.

(Inherited from SoWinComponent.)
Public methodSetSortedTrianglesNumCaches

Sets the number of caches to use when the transparency type is SORTED_TRIANGLES_XXX or SORTED_OBJECT_TRIANGLES_XXX.

Public methodSetSortedTrianglesSortFrequency

This method specifies the angle between each sorting axis when using the transparency type SORTED_TRIANGLES_XXX or SORTED_OBJECT_TRIANGLES_XXX.

Public methodSetStealFocus

By default the GLWidget "steals" focus whenever the cursor moves over it.

(Inherited from SoWinGLWidget.)
Public methodSetTitle

Sets window title.

(Inherited from SoWinComponent.)
Public methodSetTransparencyType

Sets the algorithm for rendering transparent objects.

Public methodSetViewportRegion

Sets viewport region to use for rendering.

Public methodShow

This shows the component.

(Inherited from SoWinComponent.)
Public methodSwapNormalBuffers

Swaps the normal front and back buffers.

(Inherited from SoWinGLWidget.)
Public methodSwapOverlayBuffers Obsolete.

Swaps the overlay front and back buffers.

(Inherited from SoWinGLWidget.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnbindNormalContext

unbind the current context (previously bind with bindNormalContext );

(Inherited from SoWinGLWidget.)
Public methodUnregisterDevice

Unregisters interest in devices.

Top
See Also