HI George,

A quick grep of osgGA reveals:

  StandardManipulator::setAllowThrow(bool)

TrackballManipulator inherits from StandardManipulator, via OrbitManipulator.

Robert.

On Wed, Apr 6, 2011 at 7:23 PM, George Bekos <[email protected]> wrote:
> Hello guys,
>
> You all know that a trackball camera manipulator, by default, will start 
> spinning the camera around if you release the mouse button while moving the 
> mouse.
> I have a simple/silly question:
> Is there any way to stop the spinning of the camera using code?
> The only solution I can think of is to create my own class which inherits 
> TrackballManipulator and add a function like this:
>
> void TrackballManipulator::enableThrown( bool flag ) {
>   _thrown = flag;
> }
>
> Is this solution fine? is there something wrong with it? Is there any better 
> solution? Thanks for your time guys!!!
>
> Cheers,
> George
>
> PS: I am using OSG 2.9.8
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38267#38267
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to