That's where I'm running into trouble. Is there any difference between
vtkRenderWindowInteractor + vtkInteractorStyleImage and imageviewer2?
Can you still change the contrast and all of the other functionality
that imageviewer2 has?<br>
<br>thanks,<br><font color="#888888">John</font><br><br><div class="gmail_quote">On Sun, Apr 11, 2010 at 5:12 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> Isn't that the default behavior when you use the two together?<br>
><br>
> John<br>
<br>
</div>I never understood why one would use a vtkImageViewer2 instead of<br>
simply a vtkRenderWindowInteractor + vtkInteractorStyleImage?<br>
<br>
Here is the outline of an example trying to use vtkSeedWidget with<br>
vtkImageViewer2:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Widgets/SeedWidgetImage" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Widgets/SeedWidgetImage</a><br>
<br>
I'm not sure how to start the interaction with the viewer though -<br>
maybe someone could look at this:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/ImageViewer2" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/ImageViewer2</a><br>
<br>
and then we could apply it to the SeedWidgetImage example?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>