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">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,</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>_______________________________________________<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>