[vtkusers] vtkSphericalTransform

Jérôme jerome.velut at gmail.com
Fri Oct 23 10:30:55 EDT 2009


Hi,
You should have to use "GetOutputPort" together with SetInputConnection. You
should also say what does not work !

Hope that helps,
Jerome

2009/10/23 Alessandro Artusi <artusialessandro4 at googlemail.com>

> Hi,
>
> I want to transform the output of the vtkConoturFilter in spherical
> coordinates.
>
> I am using vtkTransformPolydataFilter to apply the vtkSphericalTransform to
> thr utput of the vtkcontourFilter but does not work.
>
> code:
> sp = vtkSphericalTransform()
> t = vtkvtkTransformPolydataFilter()
> t.SetInputConnection(contour.GetOutput()) #conotur is the output of the
> vtkContourFilter
> t.SetTransform(sp)
>
> Some one can help?
>
> Thanks,
> AA
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091023/129ff356/attachment.htm>


More information about the vtkusers mailing list