<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Robert.<br>
<br>
I think I should use the PluginDataMap to provide pointers to
classes or structures. Right?<br>
<br>
Thanks again. Very quick and good help!<br>
<br>
- Werner -<br>
<br>
<div class="moz-cite-prefix">Am 11.11.2016 um 12:47 schrieb Robert
Osfield:<br>
</div>
<blockquote
cite="mid:CAFN7Y+WcZ0vw=p-2wwTM=EmAHsSvmLw-s1FyLbkP8BazcAB2Vw@mail.gmail.com"
type="cite">
<pre wrap="">Hi Wener,
On 11 November 2016 at 11:32, Werner Modenbach
<a class="moz-txt-link-rfc2396E" href="mailto:Werner.Modenbach@texion.eu"><Werner.Modenbach@texion.eu></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap="">
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
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<b>TE<span style="color:red;">X</span>ION Software Solutions</b>,
Rotter Bruch 26a, D-52068 Aachen<br>
Phone: +49 241 475757-0<br>
Fax: +49 241 475757-29<br>
Web: <a class="moz-txt-link-freetext" href="http://texion.eu">http://texion.eu</a><br>
eMail: <a class="moz-txt-link-abbreviated" href="mailto:info@texion.eu">info@texion.eu</a></div>
</body>
</html>