[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
Tue Nov 24 23:56:09 PST 2020


On Wed, 25 Nov 2020 at 02:04, OpenSceneGraph Users <
osg-users 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,


>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20201125/25067ab6/attachment.html>


More information about the osg-users mailing list