[Insight-developers] TCL Wrapping
Luis Ibanez
luis.ibanez at kitware.com
Wed, 11 Feb 2004 13:20:02 -0500
Hi Vince,
This was recently fixed.
In January 30th we commited separate files for 2D and 3D
for the CastImageFilter because the number of instantiations
was hitting some compiler limit.
Could you please give it a try updating your CVS checkout ?
You should find new files
- wrap_itkCastImageFilter_2D.cxx
- wrap_itkCastImageFilter_3D.cxx
In Insight/Wrapping/CSwig/BasicFilter.
They now have the same number of combinations for
the instantiations.
Please let us konw if you find any problems.
Thanks
Luis
-----------------------------------
Vincent A. Magnotta wrote:
> I was getting some strange behavior with wrapping. I am working on a
> couple of TCL scripts that use the TCL wrapping. I have been trying to
> use the itkCastImageFilter. Here is the problem that I am seeing. If I
> create a cast filter from F3 to F3 I have an SetInput method. If I
> create a cast filter from UC3 to F3 I do not have a SetInput method.
>
> I looked at the wrapping for the ImageToImageFilter and this has been
> wrapped for only a very tiny subset of types. Actually it is only
> wrapped for float to float and unsigned short to unsigned short and some
> potential conversion between 2D and 3D. I believe that we may want to
> expand greatly the types in this file to match all of the types and
> conversions between the valid image types wrapped for itkImage. If we
> don't, this is going to repeatedly be an issue.
>
>
> Vince
>
>