Thanks Robert. I think I should use the PluginDataMap to provide pointers to classes or structures. Right?
Thanks again. Very quick and good help! - Werner - Am 11.11.2016 um 12:47 schrieb Robert Osfield: > Hi Wener, > > On 11 November 2016 at 11:32, Werner Modenbach > <werner.modenb...@texion.eu> wrote: >> just one more small question. >> As to my understanding the ReaderWriter classes are instantiated >> automatically >> according to the "file extensions". So I get no hands on the instances of >> the reader. >> How can I give the reader class a reference to my data structures? > You can pass data into a plugin via the osgDB::Options object that you > can pass along with the string used for the filename. The Options > object can store user data as well be subclassed. > > Robert. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- *TEXION Software Solutions*, Rotter Bruch 26a, D-52068 Aachen Phone: +49 241 475757-0 Fax: +49 241 475757-29 Web: http://texion.eu eMail: i...@texion.eu
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org