Documentation/Labs/CLIInfrastructureCleanupAndRefactoring
From Slicer Wiki
Revision as of 17:49, 17 July 2015 by JChris.FillionR (talk | contribs)
Home < Documentation < Labs < CLIInfrastructureCleanupAndRefactoring
Contents
Motivation
The current CLI logic and associated GUI classes consists of complex set of hardcoded check to handle different type of MRML node. It is nearly impossible for extension to extend the existing mechanism and support other type of input and output for new CLI modules. For core module extending the infrastructure, the current approach is to copy the MRML node into MRML/Core directory.
The current approach does not scale and is becoming more and more complex to manage and maintain:
The plan would be to generalize the infrastructure so that:
- module can easily register new type of CLI output and input
- module UI generation leverage CTK CLI infrastructure
Features
- TODO
Design and implementation
- TODO
Slicer core changes
- Some preliminary work (in both CTK and Slicer) has been done to reuse the CTK CLI infrastructure. It would have to be rebased against a current master:
Future features
- TODO
Issues
- TODO
Topics to discuss
- TODO
Notes
- TODO