[IGSTK-Users] Attaching Tracker Tool to Tracker

Rafael Palomar rafaelpalomaravalos at gmail.com
Fri Jun 18 08:10:10 EDT 2010


Hi Patrick, you are right.

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.

Thank you.

Regards,
Rafael Palomar.



2010/6/18 Patrick Cheng <cheng at isis.georgetown.edu>

> Hi Rafael,
>
> The connection of scene graph is done internally when we call:
> tool->RequestAttachToTracker(tracker)
>
> 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'.
>
> You don't need to explicitly connect the tool to the tracker.
>
> Patrick
>
>
> On 6/18/10 4:04 AM, Rafael Palomar wrote:
>
>> Hello all,
>>
>> I have a basic question regarding the tracker, tools and the scene graph:
>>
>> when a tool is attached to a tracker (
>> tool->RequestAttachToTracker(tracker) ). Is that tool also attached to
>> the tracker in the scenegraph?
>>
>> If so, suppose we have the following scene graph:
>>
>> tool--->tracker--->worldReference(axesObject)
>>
>> How it is possible that I get a
>> 'CoordinateSystemTransformToDisconnectedEvent' when trying to observe
>> tranformations events of 'tool'?
>> If I explicitly connect the tool to the tracker by
>> tool->SetTransformAndParent(Identity, tracker) I get null
>> tranformations. I don't know but I guess that maybe the problem is
>> related to the configuration of the tool.
>>
>> Thank you in advance for your help.
>>
>> Best Regards,
>> Rafael Palomar.
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20100618/ddf0d861/attachment.html>


More information about the IGSTK-Users mailing list