[Insight-users] Can't create PoinSet type - WrapITK Python

Carlos Moro cfmoro at gmail.com
Tue Jul 7 17:13:04 EDT 2009


Hi all,

It seems expecting a  _p_itk__PointTdouble_3u_t, but how to get one such?

Best regards,
Carlos

On Tue, Jul 7, 2009 at 8:03 PM, Carlos Moro <cfmoro at gmail.com> wrote:

> Hi all,
>
> Thank you so much Gaëtan. What type should pp be, that has method
> GetPointer()? Can you please post how to instantiate pp so it can be passed
> to that function?
>
> Best regards,
> Carlos
>
> 2009/7/6 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>
>
>
>> You can use GetPointer():
>>
>>  pointExists =  pointsSet.GetPoint(1, pp.GetPointer())
>>
>> Or you can use WrapITK from googlecode - GetPointer() is not required
>> anymore in such situation with that version.
>>
>>  http://code.google.com/p/wrapitk/
>>
>> Regards,
>>
>> Gaëtan
>>
>> --
>> 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  http://www.itk.org
>> http://www.mandriva.org  http://www.bepo.fr
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090707/5c9598b5/attachment.htm>


More information about the Insight-users mailing list