Re: [osg-users] "hooking" into the Trackballmanipulator transform
Yup you are right, that works great! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=73570#73570 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] "hooking" into the Trackballmanipulator transform
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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] "hooking" into the Trackballmanipulator transform
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 -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=73567#73567 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org