TubeTK/Slicer: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
Line 72: Line 72:
  cp '''<YourTubeTKSourceDirectory>'''/Applications/SlicerModules/*.py
  cp '''<YourTubeTKSourceDirectory>'''/Applications/SlicerModules/*.py
     '''<YourSlicerSourceDirectory>'''/QTScriptedModules/Scripts
     '''<YourSlicerSourceDirectory>'''/QTScriptedModules/Scripts
* Re-build Slicer


=== Run 3D Slicer ===
=== Run 3D Slicer ===

Revision as of 00:07, 6 January 2011

__NOTITLE__


TubeTK Header.jpg


Home




For Users




For Developers




Contact Us

TubeTK in 3D Slicer

  • Please use Slicer4
  • Note that there are different instructions for users and developers
    • For now, TubeTK must be built from source since binaries are not yet available
    • Users: download a pre-compiled version of Slicer (cannot use TubeTK's python Slicer modules this way)
    • Developers: build Slicer from source

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> 
./Slicer3
  • 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
  • Re-build Slicer

Run 3D Slicer

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