[Insight-developers] Re: [ITK + Python] Wrapping classes proposal - V.2

William A. Hoffman billlist at nycap.rr.com
Thu Jun 23 07:51:10 EDT 2005


Your patch is interesting.   I am wondering if there is a "swig" way to do the same thing.
I know you can add methods to classes in swig .i files.   If we could do this at the
swig level it would work for all languages.  Also, we have not yet had to modify the
original swig sources, except for bug fixes which we always make sure end up in the main
swig tree.  This makes future upgrades possible.   So, if you could do the same thing
from swig, then we could add it to CableSwig and have it add the methods you want.

-Bill



More information about the Insight-developers mailing list