<div dir="ltr"><div><div><div><div><div>Hi Randy,<br><br></div>I have had success with vtkCornerAnnotation in single view and multi-view scenarios.<br></div>The pipeline you could use might be:<br>vtkImageData -> vtkImageMapToWindowLevelColors -> vtkCornerAnnotation<br><br></div>The output of the map to window level colors would also be input into a vtkImageActor in a vtkRenderer.<br></div>You can use callbacks to transmit shared window level interaction and values among multiple renderers.<br></div><div> vtkImageViewer2 is an example of how to get this kind of interaction working in a single view.<br><br></div>- Dean<br><br><div><div><div><br> <br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 12, 2017 at 1:11 AM, Randy Underwood <span dir="ltr"><<a href="mailto:river165@gmail.com" target="_blank">river165@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div> I would like to add some custom text annotation information to the display of each image displayed in vtkResliceImageViewer (or other viewer or window is fine too). Suppose I have a volumetric dataset (a stack of axial CT images) loaded in the viewer. As the user scrolls through the images I would like to display the current window width and level, the location of the current slice within the volume and some additional information the current slice. What is the correct (or preferred) mechanism for modifying vtkResliceImageViewer to display my custom information for each displayed slice. </div><div>Thank you. </div><span class="HOEnZb"><font color="#888888"><div>Randy </div></font></span></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>