[vtkusers] gridTransform
Pallavi Joshi
pallavi.joshi at vanderbilt.edu
Thu Aug 12 16:15:31 EDT 2004
Hi,
Thanks a lot ...it works !!
--Pallavi
----- Original Message -----
From: Glen Lehmann
To: Pallavi Joshi
Cc: VtkUsers
Sent: Thursday, August 12, 2004 2:53 PM
Subject: Re: [vtkusers] gridTransform
Hi Pallavi,
You can use vtkTransform to setup your rotation and then provide the transform to vtkImageReslice via vtkImageReslice->SetTransform. You may find it useful to use vtkImageChangeInformation->CenterImageOn() first so that you are rotating about the center of your image. Then, make sure you set each of the output whole extent, extent, and origin (probably to the same as the input) in vtkImageReslice before you Update.
Cheers,
Glen
On Aug 12, 2004, at 2:24 PM, Pallavi Joshi wrote:
Hi,
I want to rotate my vtkImageData. This vtkImageData is actually dx,dy,dz displacement field vectors for non rigid deformation. Now I want to rotate the entire data so that it is aligned with the mesh which I finally want to deform with this deformation field. Can anybody tell me how to rotate the vtkImageData without being converted to a mesh.
Thanks,
Pallavi
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
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/20040812/2ca4a8c4/attachment.htm>
More information about the vtkusers
mailing list