<font><font face="verdana,sans-serif">As per <a href="http://www.vtk.org/doc/nightly/html/classvtkDataSet.html">documentation</a> GetCenter() returns the center of the bounding box.<br>As per <a href="http://www.vtk.org/doc/nightly/html/classvtkProp3D.html">docs</a> GetPosition gives position (like your picture) and GetOrigin() is center of rotation.<br>
</font></font><br><div class="gmail_quote">On Tue, Jan 24, 2012 at 06:33, Ashika Umanga Umagiliya <span dir="ltr"><<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings all,<br>
<br>
I am little confused with the coordinates in VTK.<br>
<br>
As for my understanding, "GetCenter()" gives the object coordinate as<br>
shown in following picture :<br>
<a href="http://oi43.tinypic.com/vsfcjm.jpg" target="_blank">http://oi43.tinypic.com/vsfcjm.jpg</a><br>
<br>
Whats the relationship between coordinates from "GetCenter()" and<br>
coordinates from "GetPosition()" ?<br>
What is the relationship between above two and "GetOrigin()". Does<br>
"GetOrigin()" returns coordinates in actors local-coordinate system ?<br>
<br>
<br>
thanks in advance<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>
</blockquote></div><br>