[vtkusers] vtkImageData not aligned on X,Y,Z axes

Jean-Michel Rouet jean-michel.rouet at philips.com
Fri May 13 10:43:56 EDT 2005


Hi Glen, 
thanks for your answer.
I already investigated this solution but it generates an interpolated 
resliced volume, and the X, Y, Z axes of the vtkImagePlaneWidget remain 
aligned with the X, Y , Z of the universe coordinate.
What I'd like to have is a vtkImagePlaneWidget rotated in the universe 
word. Nevertheless, the actors within this vtk3DWidget are protected (not 
accesible) so I cannot apply UserTransform to them.

Maybe the last resort solution is to derive the vtkImagePlaneWidget and 
add a method to set a user transform on all of the actors implied in the 
widget ???


> Hi Jean-Michel,
> 
> Have a look at vtkTransform for rotation and translation.  The 
> transform can be applied using vtkImageReslice.
> 
> Optionally, you can just set the directional cosines in vtkImageReslice.
> 
> HTH,
> Glen




More information about the vtkusers mailing list