<div dir="ltr">Use vtkPolyDataTransformFilter to set/translate the origin.<br><br>To the best of my knowledge, vtkPolyData has no SetOrigin method, it is (0,0,0) by default.<br><br>Jothy <br><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 2:32 PM, Hila Hiler <span dir="ltr"><<a href="mailto:hilahiler@gmail.com">hilahiler@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<br><br>I have a vtkPolyData which I need to write as .vtk file according to the origin of other itk_image which I have. (I need to align them)<br>
I tried to just write that poly by vtkPolyDataWriter but the origin is different.<br>
<br>How should I do that?<br><br><br><br></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><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>