[osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Fri Nov 27 22:46:53 PST 2020

Is there a problem with adding or removing OSG nodes directly in the Qt 
Widget events?  

My idea is to send OSG USER events to complete the operation of adding and 
removing OSG nodes.

在2020年11月25日星期三 UTC+8 下午3:56:36<OpenSceneGraph Users> 写道:

> On Wed, 25 Nov 2020 at 02:04, OpenSceneGraph Users <
> osg-... at lists.openscenegraph.org> wrote:
>> I Send  USER  events  loading model  from qt . Is this the right 
>> approach?  
>> I want the progress bar in the QT to show that the  model  is loaded. So, 
>> Check whether USER evnet has been processed completely.
> I don't have any idea why you are talking about USER events in the context 
> of loading.  The OSG doesn't generate any events when loading files, the 
> loaders get passed a filename or istream and load the data and when 
> completed return the loaded object.  THere is no tracking of progress, 
> there is no event scheme that pass information about loading progress.
> If you have your own loading scheme that uses USER events then this it 
> entirely down to your program and nothing to do with the OSG, it really 
> isn't something we can help you with,

You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/e0a2d22d-9eb5-4dca-ae5a-25377cc82cc5n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20201127/48a741fc/attachment.html>

More information about the osg-users mailing list