[IGSTK-Users] How to generate OUT OF VOLUME message for tracked tools?

Arefin Shamsil marefin at uwo.ca
Mon Aug 22 19:32:28 EDT 2011


 Hi All,

I am curious to know something about the TrackerDataLogger example in IGSTK examples. When the application is running and tracking the tools, if any tool just goes out of volume, then it won't show any transform coordinates for the time period the tool was out of volume. Is it possible to stream a NaN message for the timestamps the tool was out of volume?

So I am specifically trying to produce something like this::::

0.0000     34.270      403.400     223.9     -9.456    2.046      23.752     51.245
96.457     14.574      403.400     223.9     -9.456    2.046      23.752     51.245
162.05     1.270      403.400     223.9     -9.456    2.046      23.752     51.245
262.12     34.270      403.400     223.9     -9.456    2.046      23.752     51.245
428.98     34.270      403.400     223.9     -9.456    2.046      23.752     51.245
596.94      NaN            NaN        NaN        NaN     NaN        NaN         NaN
747.13      NaN            NaN        NaN        NaN     NaN        NaN         NaN
846.94      NaN            NaN        NaN        NaN     NaN        NaN         NaN
946.31      NaN            NaN        NaN        NaN     NaN        NaN         NaN
1047.07      NaN            NaN        NaN        NaN     NaN        NaN         NaN
1112.17    NaN            NaN        NaN        NaN     NaN        NaN         NaN
1179.41     34.270      403.400     223.9     -9.456    2.046      23.752     51.245
1278.08    34.270      403.400     223.9     -9.456    2.046      23.752     51.245

Please let me know if this can be achieved and where do I have to change to get this working.

Thanks in advance

sincerely

Arefin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20110822/1c686d9b/attachment.htm>


More information about the IGSTK-Users mailing list