[osg-users] Weird ui methods in image class?

2013-09-19 Thread Remo Eichenberger
Hi,

I've just found weird methods in osg::Image

virtual bool sendFocusHint(bool /*focus*/) { return false; }
virtual bool sendPointerEvent(int /*x*/, int /*y*/, int /*buttonMask*/) { 
return false; }
virtual bool sendKeyEvent(int /*key*/, bool /*keyDown*/) { return false; }

Are they really needed in a core image class ? 

Cheers,
Remo

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56412#56412





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Weird ui methods in image class?

2013-09-19 Thread Robert Osfield
Hi Remo,

These methods are to help implement features like interactive browser, pdf
and vnc textured geometry in your scene.  There are various plugins that
subclass from osg::Image to provide the backend implementations for these
various 3rd party ways to render and interact.

Robert.


On 19 September 2013 11:40, Remo Eichenberger osgfo...@tevs.eu wrote:

 Hi,

 I've just found weird methods in osg::Image

 virtual bool sendFocusHint(bool /*focus*/) { return false; }
 virtual bool sendPointerEvent(int /*x*/, int /*y*/, int /*buttonMask*/) {
 return false; }
 virtual bool sendKeyEvent(int /*key*/, bool /*keyDown*/) { return false; }

 Are they really needed in a core image class ?

 Cheers,
 Remo

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=56412#56412





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org