Documentation/4.0/Developers/Modules

From Slicer Wiki
Revision as of 20:01, 16 December 2011 by Finetjul (talk | contribs) (Created page with 'Slicer supports 3 types of modules. While the developer has to choose between one of the 3 types to implement its module, the end user won't notice a difference as they all share…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation < 4.0 < Developers < Modules

Slicer supports 3 types of modules. While the developer has to choose between one of the 3 types to implement its module, the end user won't notice a difference as they all share the look&feel. The choice for a given type of module is usually based on the type of inputs/parameters for a given module.

Command Line Interface (CLI)

- CLIs are standalone executables with a limited input/output arguments complexity (simple argument types, no user interactions...). They are typically implemented using ITK.

Loadable Modules

  • C++ shared library
  • Full control over the GUI (Qt) and the Slicer internals (logics, display managers...)
  • Optimized for heavy computations

Scripted Modules

  • Python
  • Full access to the API: VTK, ITK, MRML, Qt, Slicer fully wrapped
  • Recommended for fast prototyping