Click or drag to resize
SoWinGLWidget Methods

The SoWinGLWidget type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAddHook
Adds an event handler that receives all messages dispatched to this window.
Public methodBindNormalContext

Makes the normal rendering context the current context.

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

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

Public methodGetAntialiasingParameters
Public methodGetAntialiasingQuality

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

Public methodGetBorderSize

Included for portability only.

Public methodGetClassName

Returns the class name.

(Inherited from SoWinComponent.)
Public methodGetCursor Obsolete.

Returns the current cursor.

Public methodGetFloatingColorBuffer

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

Public methodGetGraphicConfigTemplate

Gets the current graphics configuration template.

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

Included for portability only.

(Inherited from SoWinComponent.)
Public methodGetNormalDC

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

Public methodGetNormalSoContext
Public methodGetPixelFormat

Returns the current pixel format.

Public methodGetSize

Convenience routine on the window handle.

(Inherited from SoWinComponent.)
Public methodGetTitle

Gets window title.

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

Returns the window handle name.

(Inherited from SoWinComponent.)
Public methodHide

This hides the component.

(Inherited from SoWinComponent.)
Public methodIsBorder

Included for portability only.

Public methodIsDoubleBuffer

Returns whether double buffering is on or off.

Public methodIsDrawToFrontBufferEnable

Returns whether drawing to the front buffer is enabled.

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 methodRemoveHook
Removes the event handlers that were added by AddHook.
Public methodSaveSnapshot(String)
Calls SaveSnapshot(filename, true).
Public methodSaveSnapshot(String, Boolean)

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

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

Enable (or disable) antialiasing with specific parameters.

Public methodSetAntialiasing(Single, SoSceneManagerAntialiasingModes)

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

Public methodSetBorder

Included for portability only.

Public methodSetCursor Obsolete.

Sets the current cursor.

Public methodSetDoubleBuffer

Routine that dynamically changes between single and double buffering.

Public methodSetDrawToFrontBufferEnable

Sets drawing to the front buffer.

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 methodSetFullScreen

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

(Inherited from SoWinComponent.)
Public methodSetFullScreenEnable

Enables/disables fullscreen mode.

(Inherited from SoWinComponent.)
Public methodSetGraphicConfigTemplate

Sets a new graphics configuration template.

Public methodSetIconTitle

Included for portability only.

(Inherited from SoWinComponent.)
Public methodSetPixelFormat

Sets the current pixel format.

Public methodSetSize

Convenience routine on the window handle.

(Inherited from SoWinComponent.)
Public methodSetStealFocus

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

Public methodSetTitle

Sets window title.

(Inherited from SoWinComponent.)
Public methodShow

This shows the component.

(Inherited from SoWinComponent.)
Public methodSwapNormalBuffers

Swaps the normal front and back buffers.

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

unbind the current context (previously bind with bindNormalContext );

Top
See Also