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

Score 50%

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
*Needs ocs-url or ocs-store to install things
updated Mar 19 2009
added Aug 21 2008
downloads today
page views today 2
System Tags app software