I don&#39;t understand... vtkTransformPolyDataFilter is specialized for polygonal datasets, and vtkContourFilter&#39;s output is also polygonal.<br>Did you change the GetOutput( ) to GetOutputPort( ) as I told you? The best you can do is to copy/paste the error message, it would be very helpful for our understanding.<br>
<br>Best regards,<br>Jerome<br><br><div class="gmail_quote">2009/10/23 Alessandro Artusi <span dir="ltr">&lt;<a href="mailto:artusialessandro4@googlemail.com">artusialessandro4@googlemail.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>Hi Jerome,</div>
<div> </div>
<div>what i get is an error vtkTransformPolydataFilter  is expecting as input not a Polydata as the output from the vtkcontourFilter.</div>
<div> </div>
<div>Any idea?</div>
<div> </div>
<div>Thanks,</div>
<div>Alessandro.<font color="#888888"><br></font></div><div><div></div><div class="h5">
<div class="gmail_quote">On Fri, Oct 23, 2009 at 5:30 PM, Jérôme <span dir="ltr">&lt;<a href="mailto:jerome.velut@gmail.com" target="_blank">jerome.velut@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">Hi,<br>You should have to use &quot;GetOutputPort&quot; together with SetInputConnection. You should also say what does not work !<br>

<br>Hope that helps,<br>Jerome<br><br>
<div class="gmail_quote">2009/10/23 Alessandro Artusi <span dir="ltr">&lt;<a href="mailto:artusialessandro4@googlemail.com" target="_blank">artusialessandro4@googlemail.com</a>&gt;</span><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>
<div></div>
<div>
<div>Hi,</div>
<div> </div>
<div>I want to transform the output of the vtkConoturFilter in spherical coordinates.</div>
<div> </div>
<div>I am using vtkTransformPolydataFilter to apply the vtkSphericalTransform to thr utput of the vtkcontourFilter but does not work.</div>
<div> </div>
<div>code:</div>
<div>sp = vtkSphericalTransform()</div>
<div>t = vtkvtkTransformPolydataFilter()</div>
<div>t.SetInputConnection(contour.GetOutput()) #conotur is the output of the vtkContourFilter</div>
<div>t.SetTransform(sp)</div>
<div> </div>
<div>Some one can help?</div>
<div> </div>
<div>Thanks,</div>
<div>AA</div><br></div></div>_______________________________________________<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>

<br></blockquote></div><br></blockquote></div><br>
</div></div></blockquote></div><br>