[osg-submissions] [osgIntrospection] allow convertion from void * to Geode *
David Callu
ledocc at gmail.com
Thu Jul 26 15:58:57 PDT 2007
Hi Robert,
After the mail of Emmanuel Roche to convert a void * in a known
pointer (for example osg::Geode *), I has searched an elegant way to
introduce this feature.
I just add ReinterpretCastConverter in the Reflector to convert void*
in T* and T* in void*
files joint :
OpenSceneGraph/include/osgIntrospection/Reflector // modified
file
OpenSceneGraph/src/osgIntrospection/Reflector.cpp // modified
file
main.cpp
// test file
Best Regards
David Callu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/private.cgi/osg-submissions-openscenegraph.org/attachments/20070727/1bf2617f/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.zip
Type: application/zip
Size: 6288 bytes
Desc: not available
Url : http://lists.openscenegraph.org/private.cgi/osg-submissions-openscenegraph.org/attachments/20070727/1bf2617f/attachment.zip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 4179 bytes
Desc: not available
Url : http://lists.openscenegraph.org/private.cgi/osg-submissions-openscenegraph.org/attachments/20070727/1bf2617f/attachment.cpp
More information about the osg-submissions
mailing list