Hi Bjorn,<div>As I recall, vtkImagePlaneWidget already has a polydata describing the boundary of the plane. You could get that and manipulate it instead of mucking about with a cutter / tube filter...</div><div><br></div><div>
You can either directly manipulate the plane property (<a href="http://www.vtk.org/doc/nightly/html/classvtkImagePlaneWidget.html#aa967a678dc64d006ef7d9c9bce703e77">http://www.vtk.org/doc/nightly/html/classvtkImagePlaneWidget.html#aa967a678dc64d006ef7d9c9bce703e77</a>) or get the polydata (<a href="http://www.vtk.org/doc/nightly/html/classvtkImagePlaneWidget.html#a118b91779af7e29ab0162b6109531b95">http://www.vtk.org/doc/nightly/html/classvtkImagePlaneWidget.html#a118b91779af7e29ab0162b6109531b95</a>) and send it to the tube filter if you really can&#39;t do without the tubes.</div>
<div><br></div><div>HTH</div><div>Shash<br><br><div class="gmail_quote">On Fri, Mar 11, 2011 at 12:53 AM, Bjorn Oksnevad <span dir="ltr">&lt;<a href="mailto:boksnevad@gmail.com">boksnevad@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<div>I am using a vtkImagePlaneWidget to define a cutting plane for a vtkCutter.  The vtkCutter is then used to create tube outlines where the cut plane intersects some 3d mesh structures.  However, when I render the resulting outline, the outline tubes are slightly offset from the vtkImagePlaneWidget in the direction of the normal.  I was expecting the outlines to be positioned exactly on the vtkImagePlaneWidget plane, since I used GetOrigin() and GetNormal() from the plane widget to define the cutting plane.</div>

<div><br></div><div>Has anyone experienced this and have a solution/explanation?</div><div><br></div><div>Thanks in advance!</div><div>Bjorn</div><font color="#888888"><div><br></div>
</font><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></div>