[vtkusers] Re: [Insight-users] rotate a serie of 2D slices
David Gobbi
dgobbi at atamai.com
Thu Aug 11 16:47:14 EDT 2005
Hi Isabelle,
I think that Mathieu _meant_ to refer you to vtkImagePermute...
Whether to adjust the data or or the camera is a matter of preference.
I have used both methods.
- David
Mathieu Malaterre wrote:
> 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
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list