TubeTK/Slicer: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
Line 34: Line 34:


* Please use [http://www.slicer.org/slicerWiki/index.php/Slicer4 Slicer4]
* Please use [http://www.slicer.org/slicerWiki/index.php/Slicer4 Slicer4]
* Note that there are different instructions for '''users''' and '''developers'''
* For now, TubeTK must be built from source:  [[TubeTK/Development | See the TubeTK developers page for instructions to build and extend TubeTK]]
** For now, TubeTK must be built from source:  [[TubeTK/Development | See the TubeTK developers page for instructions to build and extend TubeTK]]
** '''Users''': Download a pre-compiled version of Slicer
** '''Developers''': Build Slicer from source


== Users ==
=== Get 3D Slicer ===
 
* '''Download 3D Slicer''': from http://download.slicer.org/
=== Download 3D Slicer ===
* '''Or, build 3D Slicer from source:''' [http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Developers/Build_Instructions Slicer4 Build Instructions]
* Download from http://download.slicer.org/
* Choose your operating system: Windows, Mac OS X, Linux
* Choose stable release or nightly build


=== Add TubeTK's Command Line Modules ===
=== Add TubeTK's Command Line Modules ===
Line 53: Line 47:
=== Restart 3D Slicer ===
=== Restart 3D Slicer ===
* On restart, the TubeTK modules will now be in the list of modules.  All TubeTK module names end with (TubeTK)
* On restart, the TubeTK modules will now be in the list of modules.  All TubeTK module names end with (TubeTK)
== Developers ==
=== Build 3D Slicer ===
* Build Slicer4 according to the [http://www.slicer.org/slicerWiki/index.php/Slicer4_Build_instructions Slicer4 Build Instructions]
=== Add TubeTK's Command Line Modules ===
* Copy the TubeTK plugins to Slicer's plugins directory.  TubeTK plugins include the substring 'tube':
cp '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/*tube*
    '''<YourSlicerBuildDirectory>'''/Slicer-build/lib/Slicer3/Plugins
=== Add TubeTK's Slicer python modules ===
* Copy all of TubeTK's slicer python modules to Slicer's QTScriptableModules directory:
cp '''<YourTubeTKSourceDirectory>'''/Applications/SlicerModules/*.py
    '''<YourSlicerSourceDirectory>'''/QTScriptedModules/Scripts
* Add TubeTK's slicer python modules to the list in '''<YourSlicerSourceDirectory>'''/QTScriptedModules/Scripts/CMakeLists.txt
* Re-build Slicer
=== Run 3D Slicer ===
cd '''<YourSlicerBuildDirectory>'''/Slicer-build
./Slicer
* The TubeTK modules will now be in the list of modules


|}
|}

Revision as of 16:17, 8 March 2012

__NOTITLE__


TubeTK Header.jpg


Home




For Users




For Developers




Contact Us

TubeTK in 3D Slicer

Get 3D Slicer

Add TubeTK's Command Line Modules

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

Restart 3D Slicer

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