[IGSTK-Developers] Re: [Fwd: Re: Example application -OneViewAndTrackingUsingMicronTracker]
Patrick Cheng
cheng at isis.georgetown.edu
Wed Oct 3 15:48:39 EDT 2007
Hi Luis,
We are talking about the examples in Sandbox.
OneViewAndTrackingUsingQTWidget
OneViewAndTrackingUsingMicronTracker
OneViewAndTrackingUsingFLTKWidget
Patrick
Luis Ibanez wrote:
>
> Patrick,
>
> Is this using the code in the Sandbox ?
> or the code in the main IGSTK ?
>
>
> Andinet:
>
> Can we take a look at this problem ?
>
> Do you have a running example that illustrates
> the issue ?
>
>
> Thanks
>
>
> Luis
>
>
> ---------------------------
> Andinet Enquobahrie wrote:
>>
>>
>> -------- Original Message --------
>> Subject: Re: Example application
>> -OneViewAndTrackingUsingMicronTracker
>> Date: Wed, 03 Oct 2007 14:18:18 -0400
>> From: Patrick Cheng <cheng at isis.georgetown.edu>
>> To: Andinet Enquobahrie <andinet.enqu at kitware.com>
>> References: <4703BBB6.2070707 at kitware.com>
>>
>>
>>
>> Hi Andinet,
>>
>> The object is not showing because of the changes made to
>> igstkObjectRepresentation class. Luis made the actor->VisibilityOff()
>> when its first added to the scene. I tested it before, his new
>> dual-statemachine solution seemed to solve the problem. But it might
>> also be connect to the WorldCoordinateSystemReference Luis was
>> originally trying to incorporate.
>>
>> If you comment out line 113 in
>> IGSTKSandbox/IGSTK/Source/igstkObjectRepresentation.cxx
>>
>> You should be able to see the visualization in the window.
>>
>> But the object is still not moving, I guess it's due to the recent
>> changes to Tracker and TrackerTool.
>>
>> I think I need to talk to Luis to get the Tracker and SpatialObject
>> sort out before we can testing other components.
>>
>> Thank you,
>>
>> Patrick
>>
>>
>> Andinet Enquobahrie wrote:
>>
>>> Patrick-
>>>
>>> To simplify the validation task, one thing you can do is add a static
>>> AxesObject to the view. This axes object can be oriented parallel to
>>> the Tracker camera coordinate system.
>>>
>>> Note that positions and orientation measurements are reported with
>>> respect to the Tracker camera coordinate system,
>>>
>>> So, adding a visualization of the camera coordinate system will make
>>> it so
>>> much easier to visually verify that the code is accessing the correct
>>> transforms of the tracker tools.
>>>
>>> To get some insight on how to add the coordinate system ,
>>> take a look at the test programs that Luis recently added with
>>> AxesSpatialObject visualization.
>>>
>>> -Andinet
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
More information about the IGSTK-Developers
mailing list