All visualization should be in WorldCoordinate space <br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 4:29 PM, Scott Johnson <span dir="ltr"><<a href="mailto:Scott.Johnson@neuwave.com">Scott.Johnson@neuwave.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;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi Folks,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m running into issues trying to spatially coordinate
the display of images and polygons (spheres in this case). My ultimate
goal is to express all coordinates in the DICOM Frame of Reference.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Right now I’m trying to display axial, sagittal, and
coronal slices and the intersection of those image planes with spheres. I’m
using vtkImageReslice to slice the images, and vtkCutter to extract the
contours of the intersection, but am running into problems getting the sliced
polygons to show up in the right place with respect to the images. I can
get the spheres to display in the correct location in a MIP rendering.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">My difficulty is understanding in what coordinate system
everything but images are expressed in. (I’ve read the Coordinate
System section in the new version of the VTK User’s guide.) For
example, if I set the position of a vtkSphereSource with SetCenter is that in
pixel coordinates in the coordinate system, or is it an absolute location in
space? The same goes for a vtkPlane: What coordinate system should
locations passed to SetOrigin be in?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">My thought was that everything was expressed in the World
coordinate system and the world coordinate system was established by the images,
but that doesn’t seem to be working for me.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal"> </p><font color="#888888">
<p class="MsoNormal"> --
Scott</p>
</font></div>
</div>
<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>