For the stable Slicer documentation, visit the 4.10 page.
- 1 Extensions
- 1.1 What is an extension ?
- 1.2 What is the extensions catalog ?
- 1.3 Why there are no windows 32-bit extensions available ?
- 1.4 How to manually install an extension ?
- 1.5 How do I associate a remote with my local extension git source directory ?
- 1.6 Which remote name is expected for extension git checkout ?
What is an extension ?
The Slicer community maintains a website referred to as the Slicer Extensions Catalog to support finding, downloading and installing of extensions. Access to this website is integral to Slicer and facilitated by the Extensions Manager functionality built into the distributed program.
- Category 1: Fully compliant Slicer Extensions: Slicer license, open source, maintained.
- Category 2: Open source, contact exists.
- Category 3: All other extensions (work in progress, beta, closed source etc).
To publish extensions, developers should consider reading the following pages:
What is the extensions catalog ?
- from within Slicer with the help of the extensions manager
- from the web: http://slicer.kitware.com/midas3/slicerappstore
Why there are no windows 32-bit extensions available ?
- Win 32 has a very limited amount of memory available to an application.
- Many registration and segmentation algorithms fail on that platform because they run out of memory, when used with state of large data.
- Some of these failures are just that, some can crash slicer. Even though the "real" failure is caused by overextending the capabilities of the hardware (in a way the users fault), it appears to the user that Slicer does not work.
- If you search the archives of slicer-users there are several such complaints until we started to discourage people to use 32 bit.
How to manually install an extension ?
1) Get revision associated with your install or built Slicer. (Menu -> Help -> About)
2) Download extension matching your Slicer revision. Select operating system, bitness and enter revision on http://slicer.kitware.com/midas3/slicerappstore
3) Extract the archive (zip or tar.gz) in a folder. You should then have a folder like:
containing folder like:
lib/Slicer-X.Y/cli-modules lib/Slicer-X.Y/qt-loadable-modules lib/Slicer-X.Y/qt-scripted-modules
For more details: Documentation/Nightly/Developers/DirectoryStructure
4) In the Module settings (Menu -> Edit -> Settings), add the path ending with
How do I associate a remote with my local extension git source directory ?
1) Start a terminal (or Git Bash on Windows)
2) Get the associated SSH remote url. Need help ?
3) Associate the remote URL with your local git source tree
git remote add origin git://github.com/<username>/MyExtension
Which remote name is expected for extension git checkout ?
When packaging an extension and generating the associated description file, the system will look for a remote named