Skip to content

Commit

Permalink
Update the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Haehn committed Mar 12, 2013
1 parent 1f81633 commit b204565
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 179 deletions.
98 changes: 0 additions & 98 deletions LibraryModule/qSlicerVmtk4Module.cxx

This file was deleted.

58 changes: 0 additions & 58 deletions LibraryModule/qSlicerVmtk4Module.h

This file was deleted.

33 changes: 10 additions & 23 deletions README
Original file line number Diff line number Diff line change
@@ -1,28 +1,15 @@
VMTK in 3D Slicer 4
The VMTK Extension for 3D Slicer 4.2+
-------------------

1)
To install manually against a Slicer4 build:

To install, do the following until the extensions are available through the wizard in Slicer4:
== Compilation ==
1) git clone https://github.com/haehn/VMTKSlicerExtension.git
2) mkdir VMTKSlicerExtension-build/
3) cd VMTKSlicerExtension-build
4) ccmake -DSlicer_DIR:PATH=/PATH/TO/Slicer4-Superbuild/Slicer-build ../VMTKSlicerExtension
5) make -j 5

git clone https://haehn@github.com/haehn/VMTK-in-3D-Slicer.git
cd VMTK-in-3D-Slicer
mkdir SlicerVmtk4-build
cd SlicerVmtk4-build
ccmake -DSlicer_DIR:PATH=/path/to/Slicer4-Superbuild/Slicer-build ../SlicerVmtk4
make -j 4
/path/to/Slicer4-Superbuild/Slicer-build/Slicer --add-loadable-extension-path SlicerVmtk4 "/path/to/SlicerVmtk4-build"
== Start Slicer and detect the VMTK extension ==
/PATH/TO/Slicer --additional-module-paths /PATH/TO/VMTKSlicerExtension-build/SlicerVmtk-build/lib/Slicer-4.2/qt-loadable-modules /PATH/TO/VMTKSlicerExtension-build/SlicerVmtk-build/lib/Slicer-4.2/qt-scripted-modules


The VMTK libraries get fetched through a Superbuild External mechanism.

2)

For now, the SlicerVmtk4/Modules/ sub-directory has to be copied to /path/to/Slicer4/QTScriptedModules/.

Then, it has to be added to /path/to/Slicer4/QTScriptedModules/CMakeLists.txt like this:

ADD_SUBDIRECTORY(Modules)


Cheers!

0 comments on commit b204565

Please sign in to comment.