If someone confirms that paraview proxy have to represent a vtkAlgorithm or one of its subclass, that will mean that you cannot use vtkIterativeClosestPointTransform directly as in the paraview pipeline. And yes, you got it, a custom VTK class would be needed to embed the pipeline connection and the transformation computation.<br>
<br>Jerome<br><br><div class="gmail_quote">2009/10/25 David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sun, Oct 25, 2009 at 3:31 PM, Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I took a look at your xml, and I didn&#39;t find any problems... So I verify in<br>
&gt; the VTK doc if you didn&#39;t misused the vtkIterativeClosestPointTransform,<br>
&gt; that I never had to work with. Especially, I checked the input data types<br>
&gt; (that was one of my major crashes&#39; cause!) and I found that this filter is<br>
&gt; not a vtkAlgorithm (in the OO sense). And I think, but ParaView developers<br>
&gt; have to confirm this, that the ParaView proxy -that&#39;s what you described in<br>
&gt; your XML- concept is linked to vtkAlgorithm.<br>
&gt;<br>
&gt; If I am right, you cannot use the &quot;Enabling VTK filters in ParaView&quot;<br>
&gt; wiki-way. In your case, you certainly will have to write a subclass of<br>
&gt; vtkAlgorithm that outputs a matrix of transformation.<br>
&gt;<br>
&gt; Sorry for not being of more helps...<br>
&gt;<br>
&gt; Jerome<br>
<br>
</div>Ah, that makes a lot of sense. I need to use a<br>
vtkTransformPolyDataFilter and set the input of this filter to the<br>
output of the vtkIterativeClosestPointTransform. Is this something<br>
that can be chained together in paraview? Or do I need to make a VTK<br>
filter that does all of this in one step and interface to the new<br>
filter with Paraview?<br>
<div><div></div><div class="h5"><br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>