<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Hi Jose,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>you can ask vtkImageReslice for it's output ( GetOutput() ) and write it to disk using dicom writer.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>Best,</span></div><div style="color: rgb(0, 0, 0);
 font-size: 13px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>Willi</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">Von:</span></b> José M. Rodriguez Bacallao &lt;jmrbcu@gmail.com&gt;<br> <b><span style="font-weight: bold;">An:</span></b> VTK Users &lt;vtkusers@vtk.org&gt; <br> <b><span style="font-weight: bold;">Gesendet:</span></b> 15:34 Dienstag, 15.Januar 2013<br> <b><span style="font-weight: bold;">Betreff:</span></b> [vtkusers] how to get the get the currently displayed image<br> </font> </div> <br><div id="yiv1629814887"><div dir="ltr">hi folks,
 I need to get the currently displayed image and save it to a dicom file and I don't want to user vtkWindowToImageFilter, the problem with this filter is that it only save one slice (including annotations) and I need to save all slices in the current orientation. My orientations are set using the camera view up, this is an example pipeline:<div>

<br></div><div style="">vtkGDCMImageReader -&gt; vtkImageChangeInformation -&gt; vtkImageReslice -&gt; vtkImageSlice -&gt; vtkRenderer -&gt; vtkRenderWindow</div><div style=""><br></div><div style="">I am using python by the way.</div>

</div>
</div><br>_______________________________________________<br>Powered by www.kitware.com<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><br><br> </div> </div> </blockquote></div>   </div></body></html>