[vtkusers] Rotate vtkImageData

David Doria daviddoria+vtk at gmail.com
Mon Mar 15 11:02:52 EDT 2010


On Mon, Mar 15, 2010 at 10:57 AM, KS Jothybasu <jothybasu at gmail.com> wrote:

> In my case the image center is [218.0732421875, 218.0732421875, 158.75],
> which I got from ImageData.GetCenter()
>
> So you mean to say, first I translate the image,do the rotation and
> translate back.
>
> Is that right?
>
> Thanks
>
> Jothy
>


Correct. This is standard procedure when applying a rotation in mathematics.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100315/6efb33b2/attachment.htm>


More information about the vtkusers mailing list