TubeTK/Slicer: Difference between revisions

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


=== Add TubeTK's Command Line Modules ===
=== Add TubeTK's Command Line Modules ===
* Copy all of the TubeTK plugins to Slicer's plugins directory:
* Copy the TubeTK plugins to Slicer's plugins directory.  TubeTK plugins include the substring 'tube':
  cp '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/*  
  cp '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/*tube*  
       '''<YourSlicerDirectory>'''/lib/Slicer3/Plugins
       '''<YourSlicerDirectory>'''/lib/Slicer3/Plugins


Line 64: Line 64:


=== Add TubeTK's Command Line Modules ===
=== Add TubeTK's Command Line Modules ===
* Copy all of the TubeTK plugins to Slicer's plugins directory:
* Copy the TubeTK plugins to Slicer's plugins directory.  TubeTK plugins include the substring 'tube':
  cp '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/*  
  cp '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/*tube*  
     '''<YourSlicerBuildDirectory>'''/Slicer-build/lib/Slicer3/Plugins
     '''<YourSlicerBuildDirectory>'''/Slicer-build/lib/Slicer3/Plugins



Revision as of 18:50, 14 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 the TubeTK plugins to Slicer's plugins directory. TubeTK plugins include the substring 'tube':
cp <YourTubeTKBuildDirectory>/TubeTK-Build/lib/TubeTK/Plugins/*tube* 
     <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 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