vtkRenderer::WorldToView will translate, based on the camera properties etc, a given world coordinate into the view space.<br><br>The world coordinate system is the implicit basis of your data&#39;s geometry.<br><br clear="all">

David E DeMarle<br>Kitware, Inc.<br>R&amp;D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x109<br>
<br><br><div class="gmail_quote">On Fri, Jun 25, 2010 at 11:09 AM, Haider Syed <span dir="ltr">&lt;<a href="mailto:hsyed88@yahoo.com">hsyed88@yahoo.com</a>&gt;</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;">

<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi,<br><br>I have a simple contour widget set up and I am using the GetNthNodeWorldPosition(0,pts) to get the points from the vtkcontourrepresentation of the widget, however, I am getting the coordinates in a world coordinate system.  I don&#39;t understand what VTK is basing this world coordinate system on? I have never specified a world coordinate system.<br>

<br>How do I get the pixel coordinates of the contour points in the vtkContourWidget?<br><br>Thanks,<br>Haider Syed<br></td></tr></tbody></table><br>

      <br>_______________________________________________<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>