[osg-users] Flush event stack

Sergey Polischuk pol-ss at yandex.ru
Sat Apr 30 16:47:53 PDT 2011


Hi, Lalit

You can get event queue from osgViewer viewer or view and use takeEvents method, it leave current queue empty.

Cheers, Sergey.

30.04.2011, 10:26, "Lalit Manchwari" <manchwari.lalit at gmail.com>:
> Hello friends,
>
> I am working on 3-D point data and using osgUtil::PolytopeIntersector to get the x, y, and z coordinates on mouse move event and show it on status bar. But my program becomes very slow.
> I had make a class: class CMousePickHandle : public osgGA::GUIEventHandler and working on osg version 2.8.2 .
> Is there any method for flush the event stack?
>
> Thank you!
>
> Cheers,
> Lalit
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38906#38906
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list