Difference between revisions of "Tracker Daemon"

From NAMIC Wiki
Jump to: navigation, search
(New page: = Purpose = Tracker Daemon is created to communicate between Slicer 3 and IGSTK through socket connection. For now, a program built on top of IGSTK can send tracking data to Slicer 3, whi...)
 
Line 1: Line 1:
 
= Purpose =
 
= Purpose =
  
Tracker Daemon is created to communicate between Slicer 3 and IGSTK through socket connection. For now, a program built on top of IGSTK can send tracking data to Slicer 3, which then updates the locator and related images accordingly. In the future, Tracker Daemon will be used to receive realtime images.
+
Tracker Daemon is created for the communication between Slicer 3 and IGSTK through socket connection. For now, a program built on top of IGSTK can send tracking data to Slicer 3, which then updates the locator and related images accordingly. In the future, Tracker Daemon will be used to receive realtime images.
  
= Recipe =
+
= Recipe for using Tracker Daemon=
1) Rerun CMake in the VTK that you used for building IGSTK
+
1) Rerun CMake in the VTK that you used for building IGSTK and turn "VTK_USE_PARALLEL" ON. Then compile VTK (no need to make a clean build, it will just build the vtkParallel library).
    and turn "VTK_USE_PARALLEL" ON. Then compile VTK (no need
 
    to make a clean build, it will just build the vtkParallel
 
    library).
 
  
2) Put the igstkTracker.cxx file from the NAMIC sandbox
+
2) Put the igstkTracker.cxx file from the NAMIC sandbox directory NAMICSandBox/trunk/IGSTK-Slicer-IntegrationViaSockets/IGSTKAdaptor into the IGSTK/Source directory. (replacing the existing one). Rerun CMake on IGSTK, then build IGSTK
    directory
 
  
NAMICSandBox/trunk/IGSTK-Slicer-IntegrationViaSockets/IGSTKAdaptor
+
3) Configure the directory NAMICSandBox/trunk/IGSTK-Slicer-IntegrationViaSockets with CMake, provide in IGSTK_DIR the directory where you build IGSTK, and provide ITK_DIR and VTK_DIR as the directories that you used for building IGSTK. They don't have to be the same that you used for building Slicer.
 
 
    into the IGSTK/Source directory. (replacing the existing one).
 
 
 
    Rerun CMake on IGSTK, then build IGSTK
 
 
 
 
 
3) Configure the directory
 
 
 
NAMICSandBox/trunk/IGSTK-Slicer-IntegrationViaSockets
 
 
 
    with CMake, provide in IGSTK_DIR the directory where
 
    you build IGSTK, and provide ITK_DIR and VTK_DIR as
 
    the directories that you used for building IGSTK.
 
 
 
    They don't have to be the same that you used for
 
    building Slicer.
 

Revision as of 21:25, 20 December 2007

Home < Tracker Daemon

Purpose

Tracker Daemon is created for the communication between Slicer 3 and IGSTK through socket connection. For now, a program built on top of IGSTK can send tracking data to Slicer 3, which then updates the locator and related images accordingly. In the future, Tracker Daemon will be used to receive realtime images.

Recipe for using Tracker Daemon

1) Rerun CMake in the VTK that you used for building IGSTK and turn "VTK_USE_PARALLEL" ON. Then compile VTK (no need to make a clean build, it will just build the vtkParallel library).

2) Put the igstkTracker.cxx file from the NAMIC sandbox directory NAMICSandBox/trunk/IGSTK-Slicer-IntegrationViaSockets/IGSTKAdaptor into the IGSTK/Source directory. (replacing the existing one). Rerun CMake on IGSTK, then build IGSTK

3) Configure the directory NAMICSandBox/trunk/IGSTK-Slicer-IntegrationViaSockets with CMake, provide in IGSTK_DIR the directory where you build IGSTK, and provide ITK_DIR and VTK_DIR as the directories that you used for building IGSTK. They don't have to be the same that you used for building Slicer.