TubeTK/Slicer: Difference between revisions

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


=== Download 3D Slicer ===
=== Download 3D Slicer ===
* Download from http://www.slicer.org/pages/Special:SlicerDownloads
* Download from http://download.slicer.org/
* Select "Type of Download": Snapshots
* Choose your operating system: Windows, Mac OS X, Linux
* Choose your operating system: Windows, Mac OS X, Linux or Solaris
* Choose stable release or nightly build
* File to download = the latest version of Slicer4, e.g., "Slicer-4.0.beta..."


=== Add TubeTK's Command Line Modules ===
=== Add TubeTK's Command Line Modules ===
* Copy the TubeTK plugins to Slicer's plugins directory.  TubeTK plugins include the substring 'tube':
* Run Slicer
cp '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/*tube*
* Edit -> Application Settings -> Additional module paths (click >> to the right of the box, then the Add button)
      '''<YourSlicerDirectory>'''/lib/Slicer3/Plugins
* Select '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/


=== Run 3D Slicer ===
=== Restart 3D Slicer ===
cd '''<YourSlicerDirectory>'''
* On restart, the TubeTK modules will now be in the list of modules.  All TubeTK module names end with (TubeTK)
./Slicer
 
* The TubeTK modules will now be in the list of modules


== Developers ==
== Developers ==

Revision as of 16:13, 8 March 2012

__NOTITLE__


TubeTK Header.jpg


Home




For Users




For Developers




Contact Us

TubeTK in 3D Slicer

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