osgGtk

Developers Apps

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50%
Description:

Provides Gtk+ and Gtkmm widgets for OpenSceneGraph. osgGtk provides widgets that can be used to integrate OpenSceneGraph (OSG) into Gtk+/gtkmm applications. There are two sublibraries osgGtk and osgGtkmm. Neither library has a dependency on the other.

Although Gtk+ is a C library osgGtk provides two core C++ classes, ViewerGtk and GraphicsWindowGtk, that respectively subclass from OSG's Viewer and GraphicsWindow. GraphicsWindowGtk maintains a gtkglext DrawingArea that provides ViewerGtk with an OpenGL rendering context. GraphicsWindowGtk's get_widget() method returns a GtkWidget* that can be used as normal in a Gtk application.

osgGtkmm also provides two similar classes, ViewerGtkmm and GraphicsWindowGtkmm. However, GraphicsWindowGtkmm uses multiple inheritance to subclass from both osgViewer::GraphicsWindow and Gtk::GL::DrawingArea, thus providing a class that is both a gtkmm widget and an OSG graphics window.

For more information on how to use these classes see the examples in the API documentation or in the examples directory in the source tarball.

Be the first to comment

product-maker 6 6

File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
updated Mar 19 2009
added Aug 21 2008
downloads today
0
page views today 2
System Tags app software