Routines for Open Inventor/Wx compatibility.
More...
#include <Inventor/Wx/SoWx.h>
The SoWx class initializes Open Inventor for use with Wx. SoWx::init() must be called in order for Open Inventor to work properly with Wx. SoWx::finish() should be called to clean up static memory allocations.
Refer to the SoWxComponent reference pages for examples on how this class should be used when using Open Inventor Wx components.
Convenience routine which brings a simple Wx error dialog box displaying the given error string(s) and window title.
The OK button, which destroys the dialog, is the only button displayed.
Frees Open Inventor's internal static memory allocations.
This avoids false positives from memory leak checking software. We recommend calling this method and it should be the last Open Inventor method called by the application. This method calls SoDB::finish(), SoNodeKit::finish(), and SoInteraction::finish().
This method is included for portability only.
Returns information based on the initial wxWindow handle returned by or passed to init.
Convenience routine to get the size of the given widget.
Convenience routine to hide the passed widget handle.
This includes any children the widget may have.
Same as above but it initializes wxWidgets and return a wxWindow pointer without using the "classic" initialization of wxWidgets.
This is called to initialize Open Inventor and Wx, and bind Open Inventor with Wx message handling so that Open Inventor sensors will work correctly.
The passed widget handle should be the top level widget handle returned from the Wx initialization. This method will call SoDB::init(), SoNodeKit::init(), and SoInteraction::init().
This retrieves and dispatches messages (loops forever).
Convenience routine to set the size of the given widget.
Convenience routine to show the passed widget handle.
This includes any children the widget may have.
This method calls SoDB::threadInit() rather than SoDB::init().
Otherwise it is the same as the corresponding SoWx::init() method.