<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff size=2>Hi
Nikos,</FONT></SPAN></DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff size=2>The
actors position is relative to it's parent in the assembly, which is why it is
always the default</FONT></SPAN></DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff size=2>start
position.</FONT></SPAN></DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff size=2>I get
the 'global' position by iterating over the assembly path (don't forget a
stop condition in case</FONT></SPAN></DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff size=2>the
actor in question has any children) and concatenating the transforms
</FONT></SPAN><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff
size=2>along the way.</FONT></SPAN></DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff
size=2>HTH,</FONT></SPAN></DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff size=2>Paul
St. John</FONT></SPAN></DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff size=2><A
href="http://www.visible-bytes.com">www.visible-bytes.com</A></FONT></SPAN></DIV>
<DIV><SPAN class=270422514-27022003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
vtkusers-admin@public.kitware.com
[mailto:vtkusers-admin@public.kitware.com]<B>On Behalf Of
</B>N.Tsagarakis<BR><B>Sent:</B> 27/02/2003 2:44 PM<BR><B>To:</B>
vtkusers@public.kitware.com<BR><B>Subject:</B> [vtkusers] GetPosition of an
actor that belongs to an assembly<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hi All</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I want to retrieve the position of an
intermediate actor that belong's to an assembly.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am using the GetPosition
method however when I rotate or move the
assembly the GetPosition always return the </FONT></DIV>
<DIV><FONT face=Arial size=2>default start position of the intermediate actor.
Is there any function that I can use to get the update position of an
intermediate</FONT></DIV>
<DIV><FONT face=Arial size=2>actor in an assembly when the assemply position
changes or the assembly rotates.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Nikos</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>