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"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></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 <<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I took a look at your xml, and I didn't find any problems... So I verify in<br>
> the VTK doc if you didn't misused the vtkIterativeClosestPointTransform,<br>
> that I never had to work with. Especially, I checked the input data types<br>
> (that was one of my major crashes' cause!) and I found that this filter is<br>
> not a vtkAlgorithm (in the OO sense). And I think, but ParaView developers<br>
> have to confirm this, that the ParaView proxy -that's what you described in<br>
> your XML- concept is linked to vtkAlgorithm.<br>
><br>
> If I am right, you cannot use the "Enabling VTK filters in ParaView"<br>
> wiki-way. In your case, you certainly will have to write a subclass of<br>
> vtkAlgorithm that outputs a matrix of transformation.<br>
><br>
> Sorry for not being of more helps...<br>
><br>
> 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>