[osg-users] "hooking" into the Trackballmanipulator transform

Julien Valentin julienvalentin51 at gmail.com
Tue May 8 15:29:57 PDT 2018

Indeed derivation is the answer and overriding

virtual bool handle( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );

should be sufficient


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:

More information about the osg-users mailing list