Thanks David!  This is exactly the information I was hoping for.

 

-Mike

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of david callu
Sent: Thursday, December 07, 2006 4:11 AM
To: osg users
Subject: Re: [osg-users] extending osgIntrospection

 

Hi mike,




2006/12/6, Mike Wittman <[EMAIL PROTECTED]>:

Hi everybody,

 

 Has anyone else contemplated extending osgIntrospection in a similar
fashion, and maybe could give pointers on implementation strategy?


Yes, I already done some extension in osgIntrospection.
The biggest work is in the genwrapper utiity.


- Just add variable(s) in osgIntrospection::MethodInfo whitch store your
information, and method to access to this information.. 
- Modify the I_Method* MACRO in
OpenSceneGraph/include/osgIntrospection/ReflectionMacro to accept you
information in MACRO's parameters


- In genwrapper, you need to edit the TypeDesc.h ( struct FunctionDesc
), RegisterBuilder.cpp (RegisterBuilder::process_function) and
WrapperGenerator.cpp (WrapperGenerator::write_method) to adapt the code
to your needs..


( - compile, test and submit your work to Robert )




Cheers
David Callu



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to