[osg-users] Flush event stack
pol-ss at yandex.ru
Sat Apr 30 16:47:53 PDT 2011
You can get event queue from osgViewer viewer or view and use takeEvents method, it leave current queue empty.
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!
> Read this topic online here:
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users