<div dir="ltr">sorry there is a typo in my pipeline, when I wrote <span style="font-family:arial,sans-serif;font-size:13px">vtkImageReslice and I mean </span><span style="font-family:arial,sans-serif;font-size:13px">vtkImageResliceMapper, so, I don't have an instance of </span><span style="font-family:arial,sans-serif;font-size:13px">vtkImageReslice in my pipeline, I think that </span><span style="font-family:arial,sans-serif;font-size:13px">vtkImageResliceMapper has one but I don't know how to get it?</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 9:53 AM, Willi Huber <span dir="ltr"><<a href="mailto:surfersparadise85-vtk@yahoo.com" target="_blank">surfersparadise85-vtk@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif"><div><span>Hi Jose,</span></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:verdana,helvetica,sans-serif">
<span><br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:verdana,helvetica,sans-serif"><span>you can ask vtkImageReslice for it's output ( GetOutput() ) and write it to disk using dicom writer.</span></div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:verdana,helvetica,sans-serif"><span><br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:verdana,helvetica,sans-serif">
<span>Best,</span></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:verdana,helvetica,sans-serif"><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 face="Arial"> <hr size="1"> <b><span style="font-weight:bold">Von:</span></b> José M. Rodriguez Bacallao <<a href="mailto:jmrbcu@gmail.com" target="_blank">jmrbcu@gmail.com</a>><br>
<b><span style="font-weight:bold">An:</span></b> VTK Users <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>> <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><div class="im"> <br><div><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>vtkGDCMImageReader -> vtkImageChangeInformation -> vtkImageReslice -> vtkImageSlice -> vtkRenderer -> vtkRenderWindow</div><div><br></div><div>I am using python by the way.</div>
</div>
</div><br></div>_______________________________________________<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>
<br><br> </div> </div> </blockquote></div> </div></div></blockquote></div><br></div>