[vtkusers] vtkTransform Rotation ???

Glen Lehmann glehmann at imaging.robarts.ca
Sun Jul 25 16:17:13 EDT 2004


Hi Pallavi,

The easiest way is to use vtkImageChangeInformation->CenterImageOn() 
before applying your transformation.  Otherwise,  you can use 
vtkImageData->SetOrigin() to specify your own.

Cheers,
Glen


On Jul 25, 2004, at 4:07 PM, Pallavi Joshi wrote:

>
> Hi All,
> The rotations in vtkTransform are around the origin of the Image right 
> ? and the origin is (0,0,0). What do I need to do if I have to rotate 
> the image around the center of the image ??
> Pleaase reply,
> Pallavi
>  
> -------------------------------------------------------------------
> Pallavi Joshi
> Graduate Student
> Medical Image Processing Lab
> Vanderbilt University
> Phone: 615-343-6259
> --------------------------------------------------------------------
>
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2403 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040725/cf9cbd1c/attachment.bin>


More information about the vtkusers mailing list