Skip to content

Open CASCADE Technology sample - 3D Viewer within GTK window

License

Notifications You must be signed in to change notification settings

caadxyz/occt-samples-gtk

 
 

Repository files navigation

OCCT GTK+ sample

This sample demonstrates how to use Open CASCADE Technology (OCCT) 3D Viewer within a window created using GTK+ (gtkmm) on Linux platform.

sample screenshot

OpenGL-based OCCT viewer is embedded into GTK+ application via Gtk::GLArea widget and X11 bindings. For this reason, you may experience some bugs specific to Gtk::GLArea (not to OCCT) on older GTK+ versions (Xubuntu 18.04). Compatibility with Wayland is not tested.

Use CMake for configuring the project and setting up paths to GTK+ (gtkmm-3.0/gtkmm-4.0), OpenGL and Open CASCADE Technology (OCCT) libraries. Building has been checked within development snapshot of OCCT 7.6.0 on Xubuntu 21.04.

About

Open CASCADE Technology sample - 3D Viewer within GTK window

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 72.9%
  • CMake 27.1%