Quarter
1.2.2
Coin3D GUI binding for Qt
|
Quarter is a light-weight glue library that provides seamless integration between Systems in Motion's Coin high-level 3D visualization library and the Qt 2D user interface library.
Qt and Coin is a perfect match since they are both open source, widely portable and easy to use. Quarter has evolved from Systems in Motion's own experiences using Coin and Qt together in our applications.
The functionality in Quarter revolves around QuarterWidget, a subclass of QGLWidget. This widget provides functionality for rendering of Coin scene graphs and translation of QEvents into SoEvents. Using this widget is as easy as using any other QWidget.
Quarter also comes with a plugin for Qt Designer, a Qt tool for designing and building GUIs. Once you install Quarter, the QuarterWidget becomes accessible in Qt Designer, and you can include it in the user interfaces you create. The plugin facility also provides you with the capability of dynamically loading UI files containing a QuarterWidget in your application.
By using Coin, Qt and Quarter to build your 3D graphics applications, you have the power to write software that is portable across the whole range of UNIX, Linux, Microsoft Windows, and Mac OS X operating systems, from a 100% common code base.
For a small, completely stand-alone usage example on how to initialize the library and set up a viewer instance window, see the following code: