Hi Matt, <div><br></div><div>Thanks for your response! </div><div><br><div class="gmail_quote">> I am not sure, but Python(x,y) probably uses WrapITK. There is some<br>> documentation here, e.g.,<br>
> <a href="http://mima2.jouy.inra.fr/darcs/contrib-itk/WrapITK/WrapITK_-" target="_blank">http://mima2.jouy.inra.fr/darcs/contrib-itk/WrapITK/WrapITK_-</a><br>> _Enhanced_languages_support_for_the_Insight_Toolkit.pdf<br>
<div><br></div><div>I already have that document, and ik does give a lot of info on images but not on pointsets or meshes, unfortunately...</div><div><br>> The easiest way to figure out what is support may be to fire up an IPython shell</div>
> and use the tab completion.<br>
<br>> In [2]: itk.VectorContainer.<TAB><br>
<br></div></div><div class="gmail_quote">Using print itk.VectorContainer.keys() gives even more usefull information. That shows that Python(x,y) has the following types are supported for the VectorContainer:</div><div class="gmail_quote">
<br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div class="gmail_quote"><div class="gmail_quote">(<itkCType unsigned int>, <class 'itkLevelSet.itkLevelSetNodeUS3'>),</div>
</div><div class="gmail_quote"><div class="gmail_quote">(<itkCType unsigned int>, <class 'itkLevelSet.itkLevelSetNodeF3'>),</div></div><div class="gmail_quote"><div class="gmail_quote">(<itkCType unsigned int>, <class 'itkLevelSet.itkLevelSetNodeUC3'>),</div>
</div><div class="gmail_quote"><div class="gmail_quote">(<itkCType unsigned int>, <class 'itkLevelSet.itkLevelSetNodeUS2'>),</div></div><div class="gmail_quote"><div class="gmail_quote">(<itkCType unsigned long>, <class 'itkVector.itkVectorD3'>),</div>
</div><div class="gmail_quote"><div class="gmail_quote">(<itkCType unsigned int>, <class 'itkLevelSet.itkLevelSetNodeF2'>),</div></div><div class="gmail_quote"><div class="gmail_quote">(<itkCType unsigned long>, <class 'itkVector.itkVectorD2'>),</div>
</div><div class="gmail_quote"><div class="gmail_quote">(<itkCType unsigned int>, <class 'itkLevelSet.itkLevelSetNodeUC2'>)</div></div></blockquote><div class="gmail_quote"><div class="gmail_quote"><br>
</div><div class="gmail_quote">So it seems I cannot use itk.Point for elements in the container. I guess that prevents me from building a PointSet then?</div><div class="gmail_quote">Funny thing is that when I create a Pointset, and then request its pointscontainer, I get a pointer to a VectorContainer that is templated over Points, if I am not mistaken:</div>
</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div class="gmail_quote"><div class="gmail_quote"><br></div></div><div class="gmail_quote"><div class="gmail_quote">
pointset.GetPoints()</div></div></blockquote><div class="gmail_quote"><div class="gmail_quote"><br></div><div class="gmail_quote">results in:</div><div class="gmail_quote"><br></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div class="gmail_quote"><div class="gmail_quote">'_80e2a804_p_itk__VectorContainerTunsigned_long_itk__PointTdouble_3u_t_t'</div></div></blockquote><div class="gmail_quote"><div class="gmail_quote"> </div><div class="gmail_quote">
I have no clue how to use this pointer though... would that be an option?</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Roel</div><div class="gmail_quote"><br></div><div class="gmail_quote">
<br></div></div>