[Insight-users] Custom ITK class wrapping
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Tue Dec 6 08:01:25 EST 2005
On Tue, 06 Dec 2005 10:58:15 +0100, Zachary Pincus <zpincus at stanford.edu>
wrote:
> Gaetan,
>
> Thanks for the input. As soon as I get a chance, I'll grab the code and
> have a go at it. I'll try to get the main wrapper library building
> outside of the ITK tree (for my own particular needs), unless you think
> that would be hard to get working well.
You should need to remove some wrapper of classes that are not in official
itk.
And I never tried to compile the wrappers outside the itk tree (even if it
would be the best solution.)
>
> Thanks again for suggesting this method.
>
> Zach
>
> PS. One further question:
>
>>> + there is no way to get some values - std::vector<?> are not wrapped
>>> for example
>> This problem should be fixed by updating swig included in cableswig
>
> Hmm, updating the SWIG in CableSWIG doesn't seem like something
> trivial... can you think of a temporary workaround? Or is the best thing
> to do to bite the bullet and get a version of SWIG in there that
> supports the proper typemaps for C++ stdlib types?
>
for sure it's not trivial.
I don't know if a workaround can be used...
> I ask because some of the classes that I really need to wrap deal in
> terms of std::vector and itk::VectorContainer classes. (Though maybe
> itk::VectorContainer can be more easily wrapped...)
VectorContainer should be easily wrapped :-)
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
More information about the Insight-users
mailing list