[vtkusers] minor vtkImageReslice bug fixed

David Gobbi dgobbi at irus.rri.ca
Thu Jun 14 16:41:34 EDT 2001


Well, I just tested the image rotation code show below, and
it turns out that vtkImageReslice had a bug since May 15
in setting up the default output spacing for oblique
ResliceAxes.  It's fixed now.

 - David

On Thu, 14 Jun 2001, David Gobbi wrote:

> transform = vtkTransform()
> transform.RotateZ(-angle)
>
> reslice = vtkImageReslice()
> reslice.SetInput(something.GetOutput())
> reslice.SetResliceAxes(transform.GetMatrix())
> reslice.SetInterpolationModeToCubic()





More information about the vtkusers mailing list