[vtkusers] Unwrap a cylinder of data using vtkCylindricalTransform and vtkImageReslice

David Gobbi david.gobbi at gmail.com
Thu Dec 18 11:15:36 EST 2014


On Thu, Dec 18, 2014 at 9:06 AM, Vincent32160 <vsh at magellium.fr> wrote:
>
> I put in the "-1"s because I reuse the matrix presented in your code
> (rotate.SetResliceAxesDirectionCosines(
>   -1, 0, 0,
>   0, -1, 0,
>   0, 0, 1 ) )
> Shouldn't I do this?


No, this isn't something that should be blindly copied.  I added those -1's
because
it set up the cylinder orientation properly for my data.  You have
different data, so
you will probably need a different matrix.  Does that make sense?

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141218/6daee451/attachment.html>


More information about the vtkusers mailing list