Maybe something is wrong in your pipeline. It happened to me before. You should check it if there is any access violation or memory issue.<br><br>Wenlong<br><br><div class="gmail_quote">2011/10/26 Jothybasu Selvaraj <span dir="ltr"><<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr">I tried<br><br>this->Renderer->DisplayToWorld();<br><br>But it crashes my app!<br>
<br>Jothy<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Oct 26, 2011 at 10:18 AM, Wenlong Wang <span dir="ltr"><<a href="mailto:scc.wwl@gmail.com" target="_blank">scc.wwl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I believe it could be done via vtkRenderer. Here is a simple code clip. It works in my application.<br>
<br>vtkRenderer::SetDisplayPoint(pd);<br>
vtkRenderer::DisplayToWorld();<br>vtkRenderer::GetWorldPoint(pw);<br><br>Wenlong<br>
<br><div class="gmail_quote">2011/10/26 Jothybasu Selvaraj <span dir="ltr"><<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div>
<div dir="ltr">Hi all,<br><br>How to set the coordinates displayed in the vtkImagePlanWidget to world. By default it shows in display coordinates.<br><br>Thanks<br><br>Jothy<br><br clear="all"><br><br></div>
<br></div></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></blockquote></div><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br><div dir="ltr">Jothybasu K Selvaraj<br>PhD Student<br>University of Liverpool<br>Liverpool,UK<br></div><br>
</font></div>
</blockquote></div><br>