Hi Patrick, you are right.<br><br>It seems that I had not configured the tool properly so when I had tried to attach it to the traker, I had got the error. Now that the tool is well configured the attachment is correct.<br>
<br>Thank you.<br><br>Regards,<br>Rafael Palomar.<br><br><br><br><div class="gmail_quote">2010/6/18 Patrick Cheng <span dir="ltr"><<a href="mailto:cheng@isis.georgetown.edu">cheng@isis.georgetown.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Rafael,<br>
<br>
The connection of scene graph is done internally when we call:<br>
tool->RequestAttachToTracker(tracker)<br>
<br>
The 'tracker' will be the parent of the 'tool'. If the 'tool' is specified as the reference, then it will be the parent of the 'tracker'.<br>
<br>
You don't need to explicitly connect the tool to the tracker.<br>
<br>
Patrick<div><div></div><div class="h5"><br>
<br>
On 6/18/10 4:04 AM, Rafael Palomar wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hello all,<br>
<br>
I have a basic question regarding the tracker, tools and the scene graph:<br>
<br>
when a tool is attached to a tracker (<br>
tool->RequestAttachToTracker(tracker) ). Is that tool also attached to<br>
the tracker in the scenegraph?<br>
<br>
If so, suppose we have the following scene graph:<br>
<br>
tool--->tracker--->worldReference(axesObject)<br>
<br>
How it is possible that I get a<br>
'CoordinateSystemTransformToDisconnectedEvent' when trying to observe<br>
tranformations events of 'tool'?<br>
If I explicitly connect the tool to the tracker by<br>
tool->SetTransformAndParent(Identity, tracker) I get null<br>
tranformations. I don't know but I guess that maybe the problem is<br>
related to the configuration of the tool.<br>
<br>
Thank you in advance for your help.<br>
<br>
Best Regards,<br>
Rafael Palomar.<br>
<br>
<br>
<br></div></div>
_______________________________________________<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</a><br>
</blockquote>
_______________________________________________<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</a><br>
</blockquote></div><br>