<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE>
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@ËÎÌå";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Verdana;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
/* Page Definitions */
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana color=#000000 size=2>Hi Patrick,</FONT></DIV>
<DIV><FONT face=Verdana color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000000 size=2>I try the code you revised and it
works very well! Thanks a lot!</FONT></DIV>
<DIV><FONT face=Verdana color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000000 size=2>Fucang</FONT></DIV>
<DIV> <FONT face=Verdana size=2> </DIV>
<DIV>
<HR>
</DIV></FONT>
<DIV><FONT face=Verdana><FONT size=2>On 2006-08-04 16:08:41 Patrick
Cheng</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2>Subject: Re:
[IGSTK-Users] Needle object disappers during tracking</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hi Fucang,</DIV>
<DIV> </DIV>
<DIV>Thank you again for the detail3e report
on this.</DIV>
<DIV> </DIV>
<DIV>This is a known issue has to do
with the igstkObjectRepresentation</DIV>
<DIV>internal state machine transition table.
There were discussions on</DIV>
<DIV>whether to simplify the state machine
of this class or not. Our chief</DIV>
<DIV>architect Luis Ibanez is working on
adding a complete regression test to</DIV>
<DIV>verify and fix this problem, this is
also the best way to do the</DIV>
<DIV>extensive testing.</DIV>
<DIV> </DIV>
<DIV>Luis is quite busy all the time,
I hope he can give us some
update on</DIV>
<DIV>this soon.</DIV>
<DIV> </DIV>
<DIV>For right now, in my local copy,
I put fixes to get around the
buggy</DIV>
<DIV>performance of the class to get the
application working.</DIV>
<DIV> </DIV>
<DIV>Please try the code attached.</DIV>
<DIV> </DIV>
<DIV>Thank you,</DIV>
<DIV> </DIV>
<DIV>Patrick</DIV>
<DIV> </DIV>
<DIV>Fucang Jia wrote:</DIV>
<DIV>> Hi, Patrick,</DIV>
<DIV>> </DIV>
<DIV>> I am using NeedleBiopsy app to
do tracking. At first, the needle and
the </DIV>
<DIV>> tip of</DIV>
<DIV>> the needle display 100ms then
disappear. When I change the line 80
in </DIV>
<DIV>> NeedleBiopsy.cxx</DIV>
<DIV>> transform.SetToIdentity( 100 );</DIV>
<DIV>> to</DIV>
<DIV>> transform.SetToIdentity( 1e300 );</DIV>
<DIV>> </DIV>
<DIV>> The needle and tip display
well.</DIV>
<DIV>> </DIV>
<DIV>> But the needle and the tip
will disappear forever in three
conditions:</DIV>
<DIV>> </DIV>
<DIV>> 1. During tracking by Vicra, if
the passive sphere marker was blocked,
</DIV>
<DIV>> then the transform can not</DIV>
<DIV>> get, then the needle and the
tip will disapper, even though the
passive </DIV>
<DIV>> sphere can be seen</DIV>
<DIV>> from the Vicra again.</DIV>
<DIV>> </DIV>
<DIV>> 2. During tracking, if the 3D
scene was adjusted by mouse, then the
</DIV>
<DIV>> needle and the tip will</DIV>
<DIV>> disappear in a moment.</DIV>
<DIV>> </DIV>
<DIV>> 3. When press the "Stop" button,
then press the "Tracking" button, the
</DIV>
<DIV>> needle</DIV>
<DIV>> and the tip will not
display.</DIV>
<DIV>> </DIV>
<DIV>> Could you give any hints to
solve this problem?</DIV>
<DIV>> </DIV>
<DIV>> Thank you!</DIV>
<DIV>> </DIV>
<DIV>> Fucang</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>>
------------------------------------------------------------------------</DIV>
<DIV>> </DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> IGSTK-Users mailing list</DIV>
<DIV>> IGSTK-Users@public.kitware.com</DIV>
<DIV>> <A
href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</A></DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>