TubeTK/Slicer: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 37: Line 37:
= TubeTK in 3D Slicer =
= TubeTK in 3D Slicer =


* Please use [http://www.slicer.org/slicerWiki/index.php/Slicer4 Slicer4]
== Overview ==
* For now, TubeTK must be built from source:  [[TubeTK/Development | See the TubeTK developers page for instructions to build and extend TubeTK]]
 
Slicer 3D is the recommended platform for using TubeTK.  Using TubeTK stand-alone from the command-line is also well supported.
 
You must first install Slicer, and then build TubeTK using that installed version of Slicer to provide the dependencies for TubeTK (e.g., ITK, VTK, CTK).
 
== Details ==
 
=== Get CMake ===
 
Install the current stable release of CMake
* Download binaries from http://www.cmake.org


=== Get 3D Slicer ===
=== Get 3D Slicer ===
* '''Download 3D Slicer''': from http://download.slicer.org/
Install the current stable release of Slicer
* '''Download 3D Slicer Binaries:''' from http://download.slicer.org/
* '''Or, build 3D Slicer from source:''' [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions Slicer4 Build Instructions]
* '''Or, build 3D Slicer from source:''' [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions Slicer4 Build Instructions]
** Configuration recommendations:
*** In CMake, turn-on advanced options and change BUILD_TYPE to Release
*** In CMake, change Slicer_USE_PYTHONQT_WITH_TCL to OFF
=== Get Boost (optional) ===
Boost is used by select TubeTK applications.
* Boost must be built from source to resolve linking errors on 64 bit machines on current binaries for Boost
* Version 1.54 or later is needed
* Download from http://www.boost.org/
=== Build TubeTK using Slicer ===
TubeTK will use Slicer's ITK, VTK, and other libraries during its build process, to ensure compatibility with Slicer.
* In CMake, set the following options
** BUILD_TYPE = Release
** USE_SLICER_MODULES = True


=== Add TubeTK's Command Line Modules ===
=== Configure Slicer to load TubeTK's modules ===
* Run Slicer
Run Slicer
* Edit -> Application Settings -> Modules -> Additional module paths (click >> to the right of the box, then the Add button)
* Edit -> Application Settings -> Modules -> Additional module paths (click >> to the right of the box, then the Add button)
* Select '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/
* Select '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/
Line 55: Line 81:
|}
|}


[[Category:TubeTK]]
[[Category:TubeTK|Slicer]]

Latest revision as of 14:20, 6 January 2015

__NOTITLE__


TubeTK Header.jpg

Home




For Users




For Developers




Report Bugs
Request Features




Contact Us

TubeTK in 3D Slicer

Overview

Slicer 3D is the recommended platform for using TubeTK. Using TubeTK stand-alone from the command-line is also well supported.

You must first install Slicer, and then build TubeTK using that installed version of Slicer to provide the dependencies for TubeTK (e.g., ITK, VTK, CTK).

Details

Get CMake

Install the current stable release of CMake

Get 3D Slicer

Install the current stable release of Slicer

  • Download 3D Slicer Binaries: from http://download.slicer.org/
  • Or, build 3D Slicer from source: Slicer4 Build Instructions
    • Configuration recommendations:
      • In CMake, turn-on advanced options and change BUILD_TYPE to Release
      • In CMake, change Slicer_USE_PYTHONQT_WITH_TCL to OFF

Get Boost (optional)

Boost is used by select TubeTK applications.

  • Boost must be built from source to resolve linking errors on 64 bit machines on current binaries for Boost
  • Version 1.54 or later is needed
  • Download from http://www.boost.org/

Build TubeTK using Slicer

TubeTK will use Slicer's ITK, VTK, and other libraries during its build process, to ensure compatibility with Slicer.

  • In CMake, set the following options
    • BUILD_TYPE = Release
    • USE_SLICER_MODULES = True

Configure Slicer to load TubeTK's modules

Run Slicer

  • Edit -> Application Settings -> Modules -> Additional module paths (click >> to the right of the box, then the Add button)
  • Select <YourTubeTKBuildDirectory>/TubeTK-Build/lib/TubeTK/Plugins/
  • Restart Slicer

Restart 3D Slicer

  • On restart, the TubeTK modules will now be in the list of modules. All TubeTK module names end with (TubeTK)