[osg-users] How to get events from interactive images

2009-12-01 Thread Serge Lages
Hi Robert and all, I have a question about plugins and how to handle a specific case. Let's say that I have a plugin which returns an interactive image (like the pdf or browser one), I associate the image to an interactive image handler to send it events. Up to here, everything works as expected,

Re: [osg-users] How to get events from interactive images

2009-12-01 Thread Robert Osfield
Hi Serge, The basic event handling support in osg::Image is to enable browser style interactivity but is limited to only putting events into the osg::Image subclass - there is no support for getting events out. There is a limit to the type of events you could get out too - as osg::Image doesn't

Re: [osg-users] How to get events from interactive images

2009-12-01 Thread Serge Lages
Thanks Robert, I've totally missed the osgWidget part, it is clearly the place for such mechanism. The interactive image plugin we're developping is not a browser but is not so far from it, do you think it can be valuable to have an InteractiveImage base class for sharing features between

Re: [osg-users] How to get events from interactive images

2009-12-01 Thread Jeremy Moles
On Tue, 2009-12-01 at 17:37 +0100, Serge Lages wrote: Thanks Robert, I've totally missed the osgWidget part, it is clearly the place for such mechanism. The interactive image plugin we're developping is not a browser but is not so far from it, do you think it can be valuable to have an

Re: [osg-users] How to get events from interactive images

2009-12-01 Thread Serge Lages
Hi Jeremy On Tue, Dec 1, 2009 at 6:06 PM, Jeremy Moles jer...@emperorlinux.comwrote: On Tue, 2009-12-01 at 17:37 +0100, Serge Lages wrote: Thanks Robert, I've totally missed the osgWidget part, it is clearly the place for such mechanism. The interactive image plugin we're developping is

Re: [osg-users] How to get events from interactive images

2009-12-01 Thread Jeremy Moles
On Tue, 2009-12-01 at 18:13 +0100, Serge Lages wrote: Hi Jeremy On Tue, Dec 1, 2009 at 6:06 PM, Jeremy Moles jer...@emperorlinux.com wrote: On Tue, 2009-12-01 at 17:37 +0100, Serge Lages wrote: Thanks Robert, I've totally missed the osgWidget part, it is clearly