Hi,<br>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&#39;t think it is possible. The closest value -in the meaning- to SliceIndex in your case is the Origin of the reslicing plane.<br>
<br>Anyway, if you want to get the reslice output, it seems to me that:<br>   i_viewer-&gt;SetInput(i_planeWidget-&gt;GetResliceOutput());<br>*should* work. Can you tell us more about how it does &quot;work not properly&quot;?<br>
<br>Jerome<br><br><br><div class="gmail_quote">2010/1/20 circass <span dir="ltr">&lt;<a href="mailto:circass@gmail.com">circass@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Thanx for your advice but i dont want to set the orientation, i want to take<br>
the reoriented image.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://old.nabble.com/How-to-handle-that-error---%21%21%21-tp27228258p27237605.html" target="_blank">http://old.nabble.com/How-to-handle-that-error---%21%21%21-tp27228258p27237605.html</a><br>

</font><div><div></div><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>