Home
For Users
For Developers
Contact Us
|
TubeTK in 3D Slicer
- Please use Slicer4
- Note that there are different instructions for users and developers
Users
Download 3D Slicer
- 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
- 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)
Developers
Build 3D Slicer
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
|