"""
Helper classes for creating 3D applications with PySide.

PySide is a binding to the Qt cross-platform application framework. This
package contains helper classes that integrate Open Inventor / Coin3D
into PySide based applications, namely:
- QIVWidget: Viewport widget for rendering and interacting with scene
  graphs.
- QInspectorWidget: Scene graph inspector showing the scene structure in
  a tree view and the fields of a node in a table view.
"""

from .QIVWidget import *
from .QInspectorWidget import *
from .QSceneGraphEditorWindow import *
from .QSceneGraphEditor import *

"""
Helper classes for creating 3D applications with PySide.

PySide is a binding to the Qt cross-platform application framework. This
package contains helper classes that integrate Open Inventor / Coin3D
into PySide based applications, namely:
- QIVWidget: Viewport widget for rendering and interacting with scene
  graphs.
- QInspectorWidget: Scene graph inspector showing the scene structure in
  a tree view and the fields of a node in a table view.
"""

from .QIVWidget import *
from .QInspectorWidget import *
from .QSceneGraphEditorWindow import *
from .QSceneGraphEditor import *

# load inventor extensions specified in IV_LIBS environment variable
import os
if os.environ.get('IV_LIBS') is not None:
    import ctypes
    import inventor
    for lib in os.environ.get('IV_LIBS').split(";"):
        ctypes.cdll.LoadLibrary(lib).initAllClasses()
    inventor.create_classes()

Load extensions given in IV_LIBS variable.
Load extensions given in IV_LIBS variable.
