Hi Wener, On 11 November 2016 at 11:32, Werner Modenbach <[email protected]> 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 [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

