[vtkusers] vtkSphericalTransform

Alessandro Artusi artusialessandro4 at googlemail.com
Fri Oct 23 09:11:12 EDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091023/1a3faba9/attachment.htm>


More information about the vtkusers mailing list