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

Carlos Moro cfmoro at gmail.com
Mon Jul 6 17:26:30 EDT 2009


Hi!

Thank you so much, Luis, it worked perfectly :)

I would like to ask another question. How does one use in WrapITK-Python
functions that require passing a pointer, like:

   pointExists =  pointsSet.GetPoint(1, pp)

 What should be pp? If pp = [], I get:

   pointExists =  pointsSet.GetPoint(1, pp)
     File "/usr/lib/WrapITK/lib/itkPointSet.py", line 1196, in GetPoint
       def GetPoint(*args): return
_itkPointSet.itkPointSetD3S_Pointer_GetPoint(*args)
   TypeError: Expected a pointer

Best regards,
Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090706/81b92b99/attachment.htm>


More information about the Insight-users mailing list