[osg-users] "hooking" into the Trackballmanipulator transform
Julien Valentin
julienvalentin51 at gmail.com
Tue May 8 15:29:57 PDT 2018
Hi
Indeed derivation is the answer and overriding
Code:
virtual bool handle( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
should be sufficient
Cheers
loopy wrote:
> Hi,
> I need to "hook" into the TrackballManipulator to provide feedback to the user. As the user rotates the model, I want to get the matrix and extract Euler angles.
> I'm stuck at how to get notified when the when the view matrix changes. Should I derive a new class from TrackballManipulator ?
>
> OSG 3.4.1
> Thanks
> Andrew
------------------------
Twirling twirling twirling toward freedom
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73569#73569
More information about the osg-users
mailing list