[Insight-developers] [ITK + Wrapping (Python)] Wrapping classes proposal - V.3

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Jun 29 05:55:33 EDT 2005


Hi Benoit,

I got 2 problems when I try to build wrappers with your patch:
  + itkAzimuthElevationToCartesianTransform is missing
  + I got circular dependencies :

make[3]: Circular  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkalgorithmsPy.py <-  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkalgorithmsPy.py  
dependency dropped.
make[3]: Circular  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkbasicfiltersaPy.py  
<-  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkbasicfiltersaPy.py  
dependency dropped.
make[3]: Circular  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkbasicfiltersbPy.py  
<-  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkbasicfiltersbPy.py  
dependency dropped.
make[3]: Circular  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkcommonaPy.py <-  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkcommonaPy.py  
dependency dropped.
make[3]: Circular  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkcommonbPy.py <-  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkcommonbPy.py  
dependency dropped.
make[3]: Circular  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkioPy.py <-  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itkioPy.py dependency  
dropped.
make[3]: Circular  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itknumericsPy.py <-  
/home/glehmann/itk/itk/build/Wrapping/CSwig/Python/itknumericsPy.py  
dependency dropped.


Sadely, I have to work on other tasks in next days, so it will be hard for  
me to work on ITK wrappers :-(

Gaetan


On Tue, 28 Jun 2005 15:43:11 +0200, Benoit Regrain  
<benoit.regrain at creatis.insa-lyon.fr> wrote:

> ----- Original Message ----- From: "Brad King" <brad.king at kitware.com>
> To: "Benoit Regrain" <benoit.regrain at creatis.insa-lyon.fr>
> Cc: <insight-developers at itk.org>
> Sent: Monday, June 27, 2005 4:46 PM
> Subject: Re: [Insight-developers] [ITK + Wrapping (Python)] Wrapping  
> classes proposal - V.3
>
>
>> Benoit Regrain wrote:
>>> Concerning this patch, I would now :
>>> - if ITK is interested by that, and integrate it
>>>   (thus, I will continue and write the wrap_Xxx.cmake
>>>   files for other ITK parts)
>>> - if there have conceptual or other problems with this proposal
>>>   (for each of 2 points)
>> Certainly we will consider putting this in ITK because it will be  
>> useful to others and is essentially attempting to do what we have not  
>> had time to do ourselves.  Thanks for your efforts so far.
>>
>> There are a few things with which we must deal before this work will be  
>> ready for inclusion in ITK proper:
>>
>> 1.) It will have to be updated for the CVS version of ITK because we do  
>> not want to make such large changes in a release branch.
> It's done. In the CVS repository, you have a CSwigNight directory that  
> will
> replace the actual CSwig directory of ITK. (The Readme.txt file at the  
> root
> of repository indicates changes to do in ITK source code).
>
>
>
>> 2.) Whatever changes are made must be tested with Tcl and Java wrapping  
>> as well.  The wrapper configuration files are shared among the  
>> languages.
> I don't know Tcl and Java with wrapping. Could anyone help me to do them  
> ?
>
>
>
>> 3.) We'd like to avoid making changes to python.cxx in the CableSwig  
>> sources.  There are two reasons for this.  First we do not want the  
>> sources to deviate from the original SWIG versions so that we can  
>> upgrade the internal SWIG version at any time.  Second we want  
>> consistency among the wrappers for the different languages.  If special  
>> support is added to CableSwig for python an equivalent should be made  
>> available for the other languages (if it makes sense for them too).
> There is no changes in CableSwig ;-)
>
>
>
> Cheers
> Benoit Regrain
>
> PS : CVS repository :
>    CVSROOT : :pserver:anonymous at cvs.creatis.insa-lyon.fr:2402/cvs/public
>    password  : anonymous
>    Module name : itkWrapping
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers



-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
Web: http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list