TubeTK/Slicer: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 36: Line 36:
* Note that there are different instructions for '''users''' and '''developers'''
* 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 (cannot use TubeTK's python Slicer modules this way)
** '''Users''': Download a pre-compiled version of Slicer
** '''Developers''': build Slicer from source
** '''Developers''': Build Slicer from source


== Users ==
== Users ==
Line 54: Line 54:
=== Run 3D Slicer ===
=== Run 3D Slicer ===
  cd '''<YourSlicerDirectory>'''  
  cd '''<YourSlicerDirectory>'''  
  ./Slicer3
  ./Slicer


* The TubeTK modules will now be in the list of modules
* The TubeTK modules will now be in the list of modules

Revision as of 21:41, 6 March 2011

__NOTITLE__


TubeTK Header.jpg


Home




For Users




For Developers




Contact Us

TubeTK in 3D Slicer

Users

Download 3D Slicer

Add TubeTK's Command Line Modules

  • Copy all of the TubeTK plugins to Slicer's plugins directory:
cp <YourTubeTKBuildDirectory>/TubeTK-Build/lib/TubeTK/Plugins/* 
     <YourSlicerDirectory>/lib/Slicer3/Plugins

Run 3D Slicer

cd <YourSlicerDirectory> 
./Slicer
  • The TubeTK modules will now be in the list of modules

Developers

Build 3D Slicer

Add TubeTK's Command Line Modules

  • Copy all of the TubeTK plugins to Slicer's plugins directory:
cp <YourTubeTKBuildDirectory>/TubeTK-Build/lib/TubeTK/Plugins/* 
    <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