SoWinGLWidget Class |
Component for OpenGL rendering.
Namespace: OIV.Inventor.Win
The SoWinGLWidget type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AddHook |
Adds an event handler that receives all messages dispatched
to this window.
|
![]() | BindNormalContext | Makes the normal rendering context the current context. |
![]() | Equals | (Inherited from Object.) |
![]() | Flush | |
![]() | GetAntialiasingMode | Returns the antialiasing mode set using the setAntialiasing(float,AntialiasingMode) method. |
![]() | GetAntialiasingParameters | Returns the antialiasing parameters set using the OIV.Inventor.Win.SoWinGLWidget.SetAntialiasing(OIV.Inventor.Antialiasing.SoAntialiasingParameters) method. |
![]() | GetAntialiasingQuality | Returns the antialiasing quality set using the setAntialiasing(float,AntialiasingMode) method. |
![]() | GetBorderSize | Included for portability only. |
![]() | GetClassName | Returns the class name. |
![]() | GetCursor | Obsolete. Returns the current cursor. |
![]() | GetFloatingColorBuffer | Returns true if floating point rendering is used and its precision. |
![]() | GetFullSceneAntialiasing | Obsolete. Returns true if FSAA is currently enabled. |
![]() | GetGraphicConfigTemplate | Gets the current graphics configuration template. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetIconTitle | Included for portability only. |
![]() | GetNormalDC | Returns the device context (which is needed for SbGlContextHelper.makeCurrent). |
![]() | GetNormalSoContext | |
![]() | GetPixelFormat | Returns the current pixel format. |
![]() | GetSize | Convenience routine on the window handle. |
![]() | GetTitle | Gets window title. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetWidgetName | Returns the window handle name. |
![]() | Hide | This hides the component. |
![]() | IsBorder | Included for portability only. |
![]() | IsDoubleBuffer | Returns whether double buffering is on or off. |
![]() | IsDrawToFrontBufferEnable | Returns whether drawing to the front buffer is enabled. |
![]() | IsFsaaSupported | Obsolete. Obsoletesince Open Inventor 8100. |
![]() | IsFullSceneAntialiasingAvailable | Obsolete. Returns true if FSAA is supported by current pixel format. |
![]() | IsFullSceneAntialiasingEnabled | Obsolete. Returns true, if full-scene antialiasing (FSAA) is enabled. |
![]() | IsFullSceneAntialiasingHQAvailable | Obsolete. Returns true if high quality full-scene antialiasing (FSAA) is available. |
![]() | IsFullSceneAntialiasingHQEnabled | Obsolete. Returns true if the high quality mode for full-scene antialiasing (FSAA) is enabled. |
![]() | IsFullScreen | Queries if the viewer is in fullscreen mode. |
![]() | IsFullScreenEnable | Queries if it is possible to put the viewer in fullscreen mode. |
![]() | IsTopLevelShell | Returns true if this component is a top level shell component (has its own window). |
![]() | IsVisible | Returns true if this component is mapped onto the screen. |
![]() | MakeNormalCurrent | Obsolete. Makes the normal rendering context the current context. |
![]() | RemoveHook |
Removes the event handlers that were added by
AddHook.
|
![]() | SaveSnapshot(String) | Calls SaveSnapshot(filename, true). |
![]() | SaveSnapshot(String, Boolean) | Save a snapshot of the current image displayed in the viewer. |
![]() | SetAntialiasing(Single) | Calls SetAntialiasing(quality, OIV.Inventor.SoSceneManager.AntialiasingModes( .SoSceneManager.AUTO )). |
![]() | SetAntialiasing(SoAntialiasingParameters) | Enable (or disable) antialiasing with specific parameters. |
![]() | SetAntialiasing(Single, SoSceneManagerAntialiasingModes) | Enable (or disable) antialiasing with specified quality and mode. |
![]() | SetBorder | Included for portability only. |
![]() | SetCursor | Obsolete. Sets the current cursor. |
![]() | SetDoubleBuffer | Routine that dynamically changes between single and double buffering. |
![]() | SetDrawToFrontBufferEnable | Sets drawing to the front buffer. |
![]() | SetFloatingColorBuffer(Boolean) | Calls SetFloatingColorBuffer(enable, OIV.Inventor.Win.SoWinGLWidget.FloatColorBufferSizes( .SoWinGLWidget.FLOAT_16_COLOR_BUFFER )). |
![]() | SetFloatingColorBuffer(Boolean, SoWinGLWidgetFloatColorBufferSizes) | Enables/disables floating point rendering using 16- or 32-bit components. |
![]() | SetFullSceneAntialiasing(Boolean) | Obsolete. Calls SetFullSceneAntialiasing(enable, -1.0, SoFullSceneAntialiasing.ALL). |
![]() | SetFullSceneAntialiasing(Boolean, Single) | Obsolete. Calls SetFullSceneAntialiasing(enable, quality, SoFullSceneAntialiasing.ALL). |
![]() | SetFullSceneAntialiasing(Boolean, Single, Int32) | Obsolete. |
![]() | SetFullSceneAntialiasingHQ | Obsolete. Enables or disables the high quality mode for full-scene antialiasing (FSAA). |
![]() | SetFullScreen | Switches the viewer into (or out of) fullscreen mode. |
![]() | SetFullScreenEnable | Enables/disables fullscreen mode. |
![]() | SetGraphicConfigTemplate | Sets a new graphics configuration template. |
![]() | SetIconTitle | Included for portability only. |
![]() | SetPixelFormat | Sets the current pixel format. |
![]() | SetSize | Convenience routine on the window handle. |
![]() | SetStealFocus | By default the GLWidget "steals" focus whenever the cursor moves over it. |
![]() | SetTitle | Sets window title. |
![]() | Show | This shows the component. |
![]() | SwapNormalBuffers | Swaps the normal front and back buffers. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UnbindNormalContext | unbind the current context (previously bind with bindNormalContext ); |
Name | Description | |
---|---|---|
![]() | Cursor | Sets the current cursor. |
![]() | Handle |
Implements Handle.
(Inherited from SoWinComponent.) |
![]() | WindowCloseCallback | Sets the delegate to invoke when the user closes this component (double click in the upper left corner) - by default Hide() is called on this component, unless a delegate is specified. |
This abstract base class provides a C++ wrapper around an OpenGL drawing window. It allows OpenGL rendering to be performed within a Windows window and is used by the OIV.Inventor.Win.SoWinRenderArea. OIV.Inventor.Win.SoWinGLWidget uses a parent window with two separate OpenGL windows (one for single buffering and one for double buffering), with routines to return the appropriate windows.
Subclasses only need to redefine the () routine for rendering and () routine if they are interested in receiving Windows messages.