[IGSTK-Developers] Re: Question about IGSTK and Polaris
Luis Ibanez
luis.ibanez at kitware.com
Thu Feb 22 11:03:32 EST 2007
Hi Alessandro,
It is great to hear that you are interested in using IGSTK.
You will find examples on how to use the Polaris tracker
in the IGSTK book that you can download from:
http://isiswiki.georgetown.edu/DataServer/Data/Public/IGSTKTheBook.pdf
You will find a detailed description of the example in
Section 17.3 in pdf-pages 241-243.
A source code Examples of how to use the PolarisTracker
can be found in the file
IGSTK/Testing/igstkPolarisTrackerTest.cxx
Given that the IGSTK trackers have a very similar API, you can
also simply take any of the examples under:
IGSTK/Examples/
and replace their tracker with the PolarisTracker class.
for example,
A) in IGSTK/Examples/HelloWorld/HelloWorld.cxx replace
the MouseTracker with a PolarisTracker type.
B) in IGSTK/Examples/OneViewAndTracking/
OneViewAndTrackingImplementation.h
replace the igstkAuroraTracker with the igstkPolarisTracker
C) in IGSTK/Examples/FourViewsAndTracking/
FourViewsAndTrackingImplementation.h
replace the igstkAuroraTracker with the igstkPolarisTracker
Note that, of course, you have to replace both the #include of
the header file, and the typedef declaration of TrackerType.
We also encourage you to join the IGSTK users list.
Please give it a try to the examples above and let us know
if you find any problems.
Thanks
Luis
=====================
Alessandro De Mauro wrote:
> Hi Luis,
> I am working, for my PhD, about augmented reality applied to the
> neurosurgical field.
> I find your work (IGSTK) very interesting and I am evaluating the
> possibility to use it in my code.
> Because I need to use Polaris system I woul like to ask you if you have
> some example or some simply code to show the interaction between Polaris
> and IGSTK.
> Thanks you in advance,
> Alessandro
>
More information about the IGSTK-Developers
mailing list