Slicer学习笔记(四十五)slicer 模块分类
1、slicer支持的模块类型
Slicer supports three types of modules: Command Line Interface (CLI), Loadable Modules and Scripted Modules.
While the developer has to choose between one of the three types to implement its module, the end user will NOT notice the difference as they all share the same look & feel.
The choice for a given type of module is usually based on the type of inputs/parameters for a given module.
Slicer支持3类模块:
Command Line Interface (CLI) 命令行接口 c++ 或python
Loadable Modules 可加载模块 c++
Scripted Modules 脚本模块 python
1.1、Command Line Interface (CLI)
CLIs are standalone executables with a limited input/output arguments complexity (simple argument types, no user interactions…). They are typic