[vtkusers] vtkCoordinate reference coordinate

David Doria daviddoria+vtk at gmail.com
Mon Apr 19 13:59:01 EDT 2010


On Mon, Apr 19, 2010 at 1:48 PM, Rakesh Patil <rakeshthp at in.com> wrote:

> Hello,
>
> Can anyone explain me with an example what is the use of the
> GetReferenceCoordinate and SetReferenceCoordinate functions of vtkCoordinate
> class..??
>
> Thanks
>
> Regards
> Rakesh Patil
>

It looks like this allows you to setup a relative coordinate system. Instead
of saying

A = (5,0)
B = (7, 0)

you could say

A = (5,0)
B.SetReferenceCoordinate(A)
B = (2,0)

I haven't tried it, but it sounds reasonable. If that's what you're looking
for, maybe you can make an example on the wiki.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100419/2438ad44/attachment.htm>


More information about the vtkusers mailing list