TubeTK/Slicer: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
Line 35: Line 35:
* Please use [http://www.slicer.org/slicerWiki/index.php/Slicer4 Slicer4]
* Please use [http://www.slicer.org/slicerWiki/index.php/Slicer4 Slicer4]
* 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 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 ==
== Users ==
Line 62: Line 65:
=== Add TubeTK's Command Line Modules ===
=== Add TubeTK's Command Line Modules ===
* Copy all of the TubeTK plugins to Slicer's plugins directory:
* Copy all of the TubeTK plugins to Slicer's plugins directory:
mkdir '''<YourSlicerDirectory>'''/Slicer-build/lib/Slicer3/Plugins/TubeTK
  cp '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/*  
  cp '''<YourTubeTKBuildDirectory>'''/TubeTK-Build/lib/TubeTK/Plugins/*  
     '''<YourSlicerDirectory>'''/Slicer-build/lib/Slicer3/Plugins/TubeTK
     '''<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


=== 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

Run 3D Slicer

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