[Insight-users] ITK tcl binding

Luis Ibanez luis . ibanez at kitware . com
Mon, 04 Aug 2003 13:04:08 -0400


Hi Tony,

The .tcl examples in Insight/Examples were configured for
the Cable Tcl wrapping, not for the current CSwig wrapping.
We have to update them for the CSwig wrapping.

The Python examples on the other hand are configured for
the latest wrapping method (CSwig). You may want to look
at these python examples instead of the Tcl ones.

These Tcl examples will be fixed soon as part of the preparation
for the release 1.4 of ITK scheduled for September.


Regards,


    Luis


--------------------
Tony Pan wrote:

>I just got ITK built from source code dated 7/21/2003.  I have python
>and tcl wrapping enabled and built using the CableSwig mechanism.
>
>I am unable to run the tcl script ImageRegistration3.tcl in the Examples
>Registration directory, however.  There doesn't seem to be an
>itk::create method.  Has the tcl api changed when wrapping generation
>moved from Cable to CableSwig?
>
>I have tried both itkwish and straight tclsh.  All the paths are setup
>properly.  I can load InsightToolkit package.
>
>The other thing that's a bit confusing is the naming convention.  I
>figured out what F2, F3, D2, D3 meant, but in translating a cxx file to
>a tcl script (or python script), I don't know how to translate cxx
>filter names (for example, filter that uses RGBPixel) to the
>corresponding tcl filter names.
>
>Tcl and Python also use different naming conventions - e.g.
>itkImageRegistrationMethodF2F2 in python vs ImageRegistrationMethodF2
>for Tcl.  These are both ImageRegistraion3 scripts.
>
>Is there a document that describes these mappings?
>
>Thank you in advance for your help.
>
>Tony Pan
>Biomedical Informatics
>The Ohio State University
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk . org
>http://www . itk . org/mailman/listinfo/insight-users
>
>  
>