Thanks, that may help. I tried using an observer on the resliced images, but it gave me picked coordinates in terms of the 2D displayed image instead of the 3D volume that the reslice came from. I was just wondering if there was an easy mapper between the resliced output and the original 3D volume.<br>
I think I can find out the reslice geometry myself and then map the picked coordinates to the original volume coordinates. Hopefully that method will work.<br><br><br><div class="gmail_quote">2009/6/26 JohnMark <span dir="ltr"><<a href="mailto:zhaojunxp@hotmail.com">zhaojunxp@hotmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Hi, <br>
I think you should write other observer functions for your new renderer if you want to pick from the resliced output.<br>
for example, you want to use mouse events to pick the image, so you could use vtkCommand::LeftButtonPressEvent, vtkCommand::MouseMoveEvent, and vtkCommand::LeftButtonReleaseEvent to grap the mouse events. and then you could write three observer functions to handle these mouse events. at last, use vtkCallbackCommand and vtkRenderWindowInteractor to do interact.<br>
if you want to add keyboard events, you could write their observer functions.<br>
hope it could help you.<br>
<br>
Mark<br><br><hr>更多热辣资讯尽在新版MSN首页! <a href="http://cn.msn.com/" target="_blank">立刻访问!</a></div>
</blockquote></div><br>