Hi Matt, <div><br></div><div>Thanks for your response! </div><div><br><div class="gmail_quote">&gt; I am not sure, but Python(x,y) probably uses WrapITK.  There is some<br>&gt; documentation here, e.g.,<br>
&gt; <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>&gt; _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>&gt; The easiest way to figure out what is support may be to fire up an IPython shell</div>
&gt; and use the tab completion.<br>
<br>&gt; In [2]: itk.VectorContainer.&lt;TAB&gt;<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">(&lt;itkCType unsigned int&gt;, &lt;class &#39;itkLevelSet.itkLevelSetNodeUS3&#39;&gt;),</div>
</div><div class="gmail_quote"><div class="gmail_quote">(&lt;itkCType unsigned int&gt;, &lt;class &#39;itkLevelSet.itkLevelSetNodeF3&#39;&gt;),</div></div><div class="gmail_quote"><div class="gmail_quote">(&lt;itkCType unsigned int&gt;, &lt;class &#39;itkLevelSet.itkLevelSetNodeUC3&#39;&gt;),</div>
</div><div class="gmail_quote"><div class="gmail_quote">(&lt;itkCType unsigned int&gt;, &lt;class &#39;itkLevelSet.itkLevelSetNodeUS2&#39;&gt;),</div></div><div class="gmail_quote"><div class="gmail_quote">(&lt;itkCType unsigned long&gt;, &lt;class &#39;itkVector.itkVectorD3&#39;&gt;),</div>
</div><div class="gmail_quote"><div class="gmail_quote">(&lt;itkCType unsigned int&gt;, &lt;class &#39;itkLevelSet.itkLevelSetNodeF2&#39;&gt;),</div></div><div class="gmail_quote"><div class="gmail_quote">(&lt;itkCType unsigned long&gt;, &lt;class &#39;itkVector.itkVectorD2&#39;&gt;),</div>
</div><div class="gmail_quote"><div class="gmail_quote">(&lt;itkCType unsigned int&gt;, &lt;class &#39;itkLevelSet.itkLevelSetNodeUC2&#39;&gt;)</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">&#39;_80e2a804_p_itk__VectorContainerTunsigned_long_itk__PointTdouble_3u_t_t&#39;</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>