[vtkusers] Re: about image orientation

Goodwin Lawlor goodwin.lawlor at ucd.ie
Fri Feb 29 11:11:15 EST 2008

tuo zhang wrote:
> Hi all,
> I want to know that if there is a method like
> changeOrientaion in vtkImageData.
> I have a 3D imageData and I want to set the
> anterior,posterior,top,bottom,left and right of it.
> Attach 2 screenshots of a software names "Mimics" 
> which can do this task.
> Thanks in advance!

Hi tuo zhang,

You can use the "SetTransform" method in vtkImageReader. Supply a 
vtkTransform as an argument.

Look here for the different transforms you may like to set up:

If want a separate filter to do the transformation for you use 



More information about the vtkusers mailing list