[vtkusers] Question about center,position and origin ?

Dženan Zukić dzenanz at gmail.com
Tue Jan 24 03:35:47 EST 2012


As per documentation<http://www.vtk.org/doc/nightly/html/classvtkDataSet.html>GetCenter()
returns the center of the bounding box.
As per docs <http://www.vtk.org/doc/nightly/html/classvtkProp3D.html>GetPosition
gives position (like your picture) and GetOrigin() is center of
rotation.

On Tue, Jan 24, 2012 at 06:33, Ashika Umanga Umagiliya <
aumanga at biggjapan.com> wrote:

> Greetings all,
>
> I am little confused with the coordinates in VTK.
>
> As for my understanding, "GetCenter()" gives the object coordinate  as
> shown in following picture :
> http://oi43.tinypic.com/vsfcjm.jpg
>
> Whats the relationship between coordinates from "GetCenter()" and
> coordinates from "GetPosition()" ?
> What is the relationship between above two and "GetOrigin()". Does
> "GetOrigin()" returns coordinates in actors local-coordinate system ?
>
>
> thanks in advance
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120124/a7beff59/attachment.htm>


More information about the vtkusers mailing list