[osg-users] clamp mouse cursor / position

Sebastian Schmidt herrdersuppen at gmail.com
Tue May 24 00:19:27 PDT 2016


Flogo wrote:
> Hi Sebastian,
> 
> I'm not an expert, but in my case I've my own class overloading osgGA::StandardManipulator.
> In this case, while overriding the method handleMouseMove I can call requestWarpPointer without recusiving call handleMouseMove.
> 
> Is it what you are looking for?
> 
> Best,
> Florian


Thanks. The problem is, that i still need to call a mousemove event to update the position of a widget (f.e. the pin button of a scrollbar).
But with a custom StandardManipulator it might be possible to separate mousemove events from an event triggered by calling requestWarpPointer.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67217#67217








More information about the osg-users mailing list