[vtkusers] How to handle that error ? !!!
Jérôme
jerome.velut at gmail.com
Wed Jan 20 02:25:38 EST 2010
Hi,
the error you got about SliceIndex should be expected, because an
arbitrary-oriented slice is computed from linear/cubic/whatelse
interpolation. An integer SliceIndex has no sense in that case, unless you
set Extent/Spacing that would allow you
world-coordinates-to-resliced-coordinates transformation. But I don't think
it is possible. The closest value -in the meaning- to SliceIndex in your
case is the Origin of the reslicing plane.
Anyway, if you want to get the reslice output, it seems to me that:
i_viewer->SetInput(i_planeWidget->GetResliceOutput());
*should* work. Can you tell us more about how it does "work not properly"?
Jerome
2010/1/20 circass <circass at gmail.com>
>
> Thanx for your advice but i dont want to set the orientation, i want to
> take
> the reoriented image.
>
> --
> View this message in context:
> http://old.nabble.com/How-to-handle-that-error---%21%21%21-tp27228258p27237605.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100120/39631eed/attachment.htm>
More information about the vtkusers
mailing list