<div dir="ltr"><div>This will do the rotate part:<br><a href="http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/RotationAroundLine">http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/RotationAroundLine</a><br><br></div>To do it about a point, first translate to the point, rotatewxyz and then translate back.<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 3:27 PM, Gideon Valch <span dir="ltr">&lt;<a href="mailto:gvalch1237@gmail.com" target="_blank">gvalch1237@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"><div dir="ltr"><div><br></div><div>Hello,</div><div><br></div><div>I need to rotate a polydata around an arbitrary axis (not X, Y or Z) not centered on the origin.  Is there a preferred way of doing this in VTK? I believe the URL below describes the transformations. But I suspect there is an easier way of doing this in VTK.  Any help would be appreciated.</div>

<div><br></div><div><br></div><div><a href="http://inside.mines.edu/~gmurray/ArbitraryAxisRotation/" target="_blank">http://inside.mines.edu/~gmurray/ArbitraryAxisRotation/</a><br></div><div><br></div><div>thanks,</div>
<div>GV</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></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><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>