|
|
(11 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | Back to [[3D_Ultrasound_Module_in_Slicer_3|3D_Ultrasound_Module_in_Slicer_3]]
| + | <big>'''Note:''' We are migrating this content to the slicer.org domain - <font color="orange">The newer page is [https://www.slicer.org/wiki/Slicer_Training_Navigation_With_Aurora here]</font></big> |
− | | |
− | ===Build IGSTK===
| |
− | '''Download source code'''
| |
− | * Login:
| |
− | cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/IGSTK login
| |
− | password: igstk
| |
− | * Check out IGSTK:
| |
− | cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/IGSTK co IGSTK
| |
− | * Check out IGSTKSandbox:
| |
− | cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/IGSTK co IGSTKSandbox
| |
− | | |
− | '''Compile IGSTK'''
| |
− | * Create a directory named 'IGSTK-build'
| |
− | * Cd to IGSTK-build
| |
− | * Run this command
| |
− | ccmake ../IGSTK
| |
− | * Set the configuration parameters. For example, here are my settings:
| |
− | BUILD_DOCUMENTATION OFF
| |
− | BUILD_TESTING ON
| |
− | CMAKE_BACKWARDS_COMPATIBILITY 2.4
| |
− | CMAKE_BUILD_TYPE
| |
− | CMAKE_INSTALL_PREFIX /usr/local
| |
− | DART_ROOT DART_ROOT-NOTFOUND
| |
− | EXECUTABLE_OUTPUT_PATH /home/hliu/projects/igstk/IGSTK-build/bin
| |
− | IGSTK_BUILD_EXAMPLES ON
| |
− | IGSTK_BUILD_TESTING ON
| |
− | IGSTK_DEVELOPMENT_VERSION ON
| |
− | IGSTK_TEST_AURORA_ATTACHED ON
| |
− | IGSTK_TEST_AURORA_PORT_NUMBER 0
| |
− | IGSTK_TEST_LOOPBACK_ATTACHED OFF
| |
− | IGSTK_TEST_LOOPBACK_PORT_NUMBE 1
| |
− | IGSTK_TEST_POLARIS_ATTACHED OFF
| |
− | IGSTK_TEST_POLARIS_PORT_NUMBER 0
| |
− | IGSTK_USE_FLTK OFF
| |
− | IGSTK_USE_MicronTracker OFF
| |
− | IGSTK_USE_Qt OFF
| |
− | ITK_DIR /home/hliu/projects/Slicer3-lib/Insight-build
| |
− | LIBRARY_OUTPUT_PATH /home/hliu/projects/igstk/IGSTK-build/bin
| |
− | VTK_DIR /home/hliu/projects/Slicer3-lib/VTK-build
| |
− | | |
− | * Press "g" to configure the project
| |
− | * Run '''make''' to compile
| |
− | | |
− | '''Compile IGSTKSandbox'''
| |
− | * Create a directory named 'IGSTKSandbox-build'
| |
− | * Cd to IGSTKSandbox-build
| |
− | * Run this command
| |
− | ccmake ../IGSTKSandbox
| |
− | * Set the configuration parameters. For example, here are my settings:
| |
− | '''Compile IGSTK'''
| |
− | * Create a directory named 'IGSTK-build'
| |
− | * Cd to IGSTK-build
| |
− | * Run this command
| |
− | ccmake ../IGSTK
| |
− | * Set the configuration parameters. For example, here are my settings:
| |
− | BUILD_TESTING ON
| |
− | CMAKE_BACKWARDS_COMPATIBILITY 2.4
| |
− | CMAKE_CXX_COMPILER /usr/bin/g++
| |
− | CMAKE_C_COMPILER /usr/bin/gcc
| |
− | DOT DOT-NOTFOUND
| |
− | EXECUTABLE_OUTPUT_PATH /home/hliu/projects/igstk/IGSTKSandbox-build/bin
| |
− | FLTK_DIR FLTK_DIR-NOTFOUND
| |
− | IGSTKSandbox_BUILD_EXAMPLES ON
| |
− | IGSTKSandbox_BUILD_SUPERVISED_ OFF
| |
− | IGSTKSandbox_BUILD_TESTING ON
| |
− | IGSTKSandbox_SEND_TRANSFORMS_T ON
| |
− | IGSTKSandbox_USE_FLTK OFF
| |
− | IGSTKSandbox_USE_MicronTracker OFF
| |
− | IGSTKSandbox_USE_Qt OFF
| |
− | IGSTK_DIR /home/hliu/projects/igstk/IGSTK-build
| |
− | IGSTK_USE_COORDINATE_REFERENCE ON
| |
− | LIBRARY_OUTPUT_PATH /home/hliu/projects/igstk/IGSTKSandbox-build/bin
| |
− | MTC_INCLUDE_DIRECTORY MTC_INCLUDE_DIRECTORY-NOTFOUND
| |
− | MTC_LIBRARY MTC_LIBRARY-NOTFOUND
| |
− | | |
− | * Press "g" to configure the project
| |
− | * Run '''make''' to compile
| |
− | | |
− | ===Configure Slicer===
| |
− | Start Slicer IGT, and follows Steve recipe: <br>
| |
− | | |
− | # create a transform called "tracker" <br>
| |
− | # load a dataset or a moder and make it a child of the "tracker" transform that you just created <br>
| |
− | # Open the Interactor window and from there start the tracker daemon by using the following commands:
| |
− | ## source $::SLICER_BUILD/../Slicer3/Modules/TrackerDaemon/Tcl/trackerd.tcl
| |
− | ## trackerd_start
| |
− | | |
− | ===Data communication===
| |