[vtkusers] Re: [Insight-users] rotate a serie of 2D slices
Mathieu Malaterre
mathieu.malaterre at kitware.com
Thu Aug 11 16:38:08 EDT 2005
Isabelle,
I believe you are looking for a subclass of vtkImageReslice:
http://www.vtk.org/doc/nightly/html/classvtkImageFlip.html
This should do exactly what you want.
HTH
Mathieu
Renaud Isabelle wrote:
> Hi,
>
> I'm working with a 3D data (a series in time of 2D images of carotid)
> using ITK and VTK.
>
> Everything works fine, for the moment, except that my boss wanna see
> displayed images with inversion of x and y axes, because clinicians are
> more familiar with this kind of view.
>
> *So, now, I have to rotate my 3D data with a 90 degree angle of Z (time)
> axis*.
>
> I was wondering:
>
> -- do I have to compute a transformation with *vtkImageReslice* or,
> since I am already using camera's setting up, changing from
> camera->SetViewUp(0,1, 0) to camera->SetViewUp(-1, 0, 0) would be enough?
>
> Thanks for replying,
> Isabelle
>
> ------------------------------------------------------------------------
> *Appel audio GRATUIT partout dans le monde* avec le nouveau Yahoo! Messenger
> Téléchargez le ici !
> <http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the vtkusers
mailing list