[osg-users] multiple input with osgwidgets

Sebastian Schmidt herrdersuppen at gmail.com
Wed Oct 5 00:00:57 PDT 2016


gambr wrote:
> Honestly I usually derive from osgGA::GUIEventHandler to handle mouse events.
> 
> Cheers,
> Gianni


I use the osgWidget::MouseHandler and osgGA::CameraManipulator which both derive from osgGA::GUIEventHandler.

The reason why i use MouseHandler is because it will send events to the WindowManager which knows all about its windows and widgets.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68855#68855








More information about the osg-users mailing list