Re: [osg-users] How to programmatically clear trackball manipulator's mouse queue

2010-09-30 Thread John Kush
Hi, When I try this code, I got an error 'class osgGA::TrackballManipulator' has no member named 'setAllThrow'| Code: osg::ref_ptrosgGA::TrackballManipulator trackball = new osgGA::TrackballManipulator(); trackball-setAllThrow(true); Why? Thank you! Cheers, John

Re: [osg-users] How to programmatically clear trackball manipulator's mouse queue

2010-09-30 Thread Tom Pearce
You mistyped it - it's setAllowThrow, not setAllThrow. Cheers, Tom -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32242#32242 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] How to programmatically clear trackball manipulator's mouse queue

2010-03-19 Thread Mike Greene
I have some source code where I use a trackballmanipulator to rotate a terrain. If I drag the mouse I can set the terrain spinning. How do I programatically stop this (i.e., without clicking the mouse again)? I tried setting Manipulator-setRotation(last_saved_angles), which does reset it , but

Re: [osg-users] How to programmatically clear trackball manipulator's mouse queue

2010-03-19 Thread Mourad Boufarguine
Hi Mike, You need just to set the throw flag of the trackball manipulator to false. See setAllowThrow method. Mourad On Fri, Mar 19, 2010 at 8:24 PM, Mike Greene mgre...@hiwaay.net wrote: I have some source code where I use a trackballmanipulator to rotate a terrain. If I drag the mouse I