<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
&nbsp;<BR>
Hello Jake...<BR>
&nbsp;<BR>
There is no relative motion between markers, they are fixed&nbsp;like a rigid body.<BR>
In the scene graph, the position of the spheres match the settings in the tool geometry file.<BR>
I&nbsp;use a static reference tool.<BR>
Can&nbsp;you explain me more about the RequestComputeTransformTo() method??? i can't find information helpfull.<BR>
I've only found that there is two methods with this name:<BR><FONT size=2>
</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>void</FONT></FONT><FONT size=2> RequestComputeTransformTo(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>const</FONT></FONT><FONT size=2> CoordinateSystem* targetCoordSys); // in IGSTKCoordinateSystem.h<BR>
</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>void</FONT></FONT><FONT size=2> RequestComputeTransformTo(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>const</FONT></FONT><FONT size=2> TTarget &amp; target); // in IGSTKCoordinateSystemDelegator.h<BR></FONT>
<BR><BR>
Wich is the difference with GetTransform() or where can i get more information about it???<BR>
In our project, the purpose of to get the positions of the three markers is to know the orientation and position of the plane generated by&nbsp;these three points.<BR>
This plane represents an image that moves fixed to the passive tool. hope this information can help to give you an idea :P<BR>
&nbsp;<BR>
&nbsp;<BR>
Thanks, <BR>
&nbsp;<BR>
Eric<BR>
&nbsp;<BR>
Image Analysis And Visualization Laboratory<BR>Centro de Ciencias Aplicadas y Desarrollo Tecnologico CCADET<BR>
Universidad Nacional Autónoma de México<BR>Circuito Exterior S/N, Cd. Universitaria,<BR>AP 70-186, CP 04510 México, DF<BR>Tel: +(52)(55) 56 22 86 02, ext. 1130<BR><BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>&gt; Date: Mon, 29 Jun 2009 10:28:57 -0700<BR>&gt; Subject: Re: [IGSTK-Users] Tool positions or Tools Translations?<BR>&gt; From: jdmcivor@interchange.ubc.ca<BR>&gt; To: eric_lb@hotmail.com; igstk-users@public.kitware.com<BR>&gt; <BR>&gt; Hey Eric,<BR>&gt; <BR>&gt; Can you clarify something? Is there any relative motion between your<BR>&gt; passive markers, or are they fixed to a rigid body?<BR>&gt; <BR>&gt; If they are fixed like a 'normal' wireless tool, you should be able to<BR>&gt; setup your scene graph in IGSTK to match the settings in the .rom<BR>&gt; file. I think you want to use the RequestComputeTransformTo() method<BR>&gt; instead of the GetTransform() method. The argument should be whatever<BR>&gt; your reference is (I think you were using a static reference tool).<BR>&gt; The GetTransform() method only returns the transform to an objects<BR>&gt; parent, which in this case would be your tool, and the transform you<BR>&gt; defined.<BR>&gt; <BR>&gt; Although it is possible to get single (stray) marker position data<BR>&gt; from Polaris, as others have mentioned, IGSTK doesn't really support<BR>&gt; it. I believe the difficulty is because there is no way to keep track<BR>&gt; of which marker is which.<BR>&gt; <BR>&gt; So, if you just want to recreate where the markers were as you moved a<BR>&gt; wireless tool, you should be able to change your method as above. If<BR>&gt; you want to look at the actual positions of the markers, it will be<BR>&gt; more difficult.<BR>&gt; <BR>&gt; Hope that helps,<BR>&gt; <BR>&gt; Jake<BR>&gt; <BR>&gt; --<BR>&gt; Jake McIvor<BR>&gt; MASc Candidate, Biomedical Engineering<BR>&gt; University of British Columbia<BR>&gt;&nbsp;<BR> &gt;<BR><BR><br /><hr />Tu vida, tus amigos y lo que te interesa <a href='http://www.actualizatuperfil.com.mx/' target='_new'>está en Perfil de Windows Live. Actualízalo.</a></body>
</html>