openscenegraph
Classes | Functions
osgQt Namespace Reference

Classes

class  GLWidget
class  GraphicsWindowQt
class  QFontImplementation
class  QGraphicsViewAdapter
class  QWebViewImage
class  QWidgetImage

Functions

void OSGQT_EXPORT initQtWindowingSystem ()
 The function sets the WindowingSystem to Qt.
void OSGQT_EXPORT setViewer (osgViewer::ViewerBase *viewer)
OSGQT_EXPORT QCoreApplication * getOrCreateQApplication ()

Detailed Description

The osgQt utility library provides various classes to aid the integration of OpenSceneGraph and Qt.

Function Documentation

OSGQT_EXPORT QCoreApplication* osgQt::getOrCreateQApplication ( )
void OSGQT_EXPORT osgQt::initQtWindowingSystem ( )

The function sets the WindowingSystem to Qt.

void OSGQT_EXPORT osgQt::setViewer ( osgViewer::ViewerBase viewer)

The function sets the viewer that will be used after entering the Qt main loop (QCoreApplication::exec()).

The function also initializes internal structures required for proper scene rendering.

The method must be called from main thread.