<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.<br></div>
<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">jerome.velut@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; 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: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">
<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>