Tracking Volume Viewer
From IGSTK
Contents |
Introduction
The Tracking Working Volume Viewer application is a very simple application whose principal objective is to show a graphical representation of the tracker's working volume and track any number of tools in it's context. The tracker's working volume is the region in space where the tracker system operates properly. In this way, the user can determine the best position of the camera or EM field generator with respect to the OR working space.
How to build the application
To build this application you will need to turn on FLTK option in your CMake configuration and have any of the supported tracker systems readily connected and configured.
How to run the application
The following steps outline the wrokflow of the application:
- Open any tracker system supported by IGSTK Click on 'Load Tracker' and select an XML configuration file. Depending on the time it takes the tracker to start up, you will promptly start visualizing a small sphere for each tracker tool included in the XML configuration file. A different colors is randomly assigned to each tracked tool.
- Load a representation of the tracking system (e.g. camera or EM field generator) A .msh file can be loaded from "IGSTKSandbox-Testing-Data-TrackerWorkingVolumeMeshes" into a meshspatial object representation (igstk::MeshObjectRepresentation). For an optical tracking system, tracking volume representation is a frustum. The EM field is usually a cuboid (Aurora NDI) or a sphere (Ascension Flock of Birds and 3D Guidance). An igstk::AxesObjectRepresentation will be shown at the center of the tracker representation indicating the origin of the tracker coordinate system. It is important to load the .msh file that corresponds to the tracker system in use. Otherwise, both geometry and orientation may differ from the real system.
- Visualize a mesh representation of the working volume of the selected tracker system. Similarly, choose the corresponding .msh file in the same previous directory
- Reslice the mesh representation of the working volume with one of the tracked tools. By default, the application assigns the first loaded tool as the "reslicer" tool. You may notice that the sphere disappears near the borders of the working volume representation. You can relocate the camera or EM field generator accordingly.
Example data
There are some example data in cvs repository for testing this application
1) Tracker configuration files for Aurora, Polaris, MicronTracker
Build_Directory/Testing/Data/TrackerConfiguration
2) Example tracking representation mesh data
Source_Directory/Testing/Data/TrackerWorkingVolumeMeshes


