<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi all,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">what I'm after is very similar to what the osg viewer does when checking if the QUIT event has happened during the last frame - <a href="https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgViewer/Viewer.cpp#L1013">link</a> - with all the events collected in a frame available at the same time.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I'd like to do that before the other callbacks (placed as node callback or viewer events handler) are invoked, with one event passed at the time. </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">At the moment, the best workaround that I could come up with is to collect all the events in a node callback, and use the FRAME event to know that I have finished the collection for the current frame.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Robert, do you think it's advisable to add a new callback/entry point in the Viewer and CompositeViewer classed for such usage?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thank you,</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Riccardo</div></div>