[Insight-developers] adding swig command to itk python wrapper
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Mon Apr 4 10:20:02 EDT 2005
Hi,
I try to add a swig command to make itk more usable in python, but I can't
find where to add it.
Currently, I only tried to add :
%rename(__getitem__) itkIndex2::operator[];
to make index accessible with standard python list interface.
I tried to add this in itk.swg (where python typemaps are defined), but it
seems that doing some changes in this file don't make make rebuild any
file, so I'm not sure that this file is used somewhere.
Can somebody tell me where I can add swig commands ?
Regards,
Gaetan
--
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 22 34
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
More information about the Insight-developers
mailing list