SoWin Class |
Routines for Open Inventor/Windows compatibility.
Namespace: OIV.Inventor.Win
The SoWin type exposes the following members.
Name | Description | |
---|---|---|
AddColormapToShell | This method is included for portability only. | |
CreateSimpleErrorDialog(Control, String, String) | Calls CreateSimpleErrorDialog(widget, dialogTitle, errorStr1, (System.String ^)nullptr). | |
CreateSimpleErrorDialog(Control, String, String, String) | Convenience routine which brings a simple Windows error dialog box displaying the given error string(s) and window title. | |
DoIdleTasks | If you use OIV.Inventor.Win.SoWin.MainLoop() or (), Inventor automatically calls this when the Windows message queue is empty. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finish | Frees Open Inventor's internal static memory allocations. | |
GetErrorConsole | Returns the VSG error console. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWidgetSize | Convenience routine to get the size of the given window. | |
Hide | Convenience routine to hide the passed window handle. | |
Init | Obsolete. | |
Init(Control) |
This alternate form of init allows the application to initialize Windows. The
passed control should be the top level control.
| |
IsInitialized | ||
MainLoop | This retrieves and dispatches messages (loops forever). | |
SetWidgetSize | Convenience routine to set the size of the given window. | |
Show | Convenience routine to show the passed window handle. | |
ThreadInit | Obsolete.
Use this method if you need to use multi-threading with Open Inventor.
| |
ThreadInit(Control) | Obsolete.
Use this method if you need to use multi-threading with Open Inventor.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The OIV.Inventor.Win.SoWin class initializes Open Inventor for use with Microsoft Windows. () must be called in order for Open Inventor to work properly with Windows. OIV.Inventor.Win.SoWin.Finish() should be called to clean up static memory allocations.
OIV.Inventor.Win.SoWin.MainLoop() must be called in order for extension device messages to be passed to Open Inventor render areas. The other methods are convenience functions.
Refer to the OIV.Inventor.Win.SoWinComponent reference pages for examples on how this class should be used when using Open Inventor Windows components.