Hi Bob,

SceneView is low level osgUtil class that knows about osgGA or any of
it's event handlers, so it's not really not a case of making event
handlers work with SceneView.  Instead you should be thinking about
adding event handlers to your own custom viewer code, or... just use
osgViewer::Viewer along with GraphicsWindowEmbedded, it'll not only
give you event handlers support, but support for database paging and
lots of sophisticated viewer support.  I really wouldn't recommend
using SceneView directly these days.

Robert.

On Tue, Sep 7, 2010 at 1:11 PM, Bob Smith <[email protected]> wrote:
> Hi,
>
> I'm using osgUtil::SceneView and would like to use event handlers. In 
> osgViewer, there's the function addEventHandler, but I can't figure out a way 
> to get this working with SceneView. Is this possible?
>
> Thank you!
>
> Cheers,
> Bob
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=31378#31378
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to