2010 Winter Project Week Command Line Module Simple Return Types
Key Investigators
- GE: Jim Miller
Objective
Extend the Command Line Module infrastructure to allow for simple return types (int, scalar, string).
Approach, Plan
- Use a single wrapper to collect all the simple return values in a key:value pair format.
- Receive the key:value wrapper from executables, shared libraries, and python
- Display the output values in the GUI as non-editable items
Need to coordinate this with the Qt port.
Progress
- Discussed designs with Andriy and Bill
- Concerned about adding this while the Qt port is ongoing
- Failed to entice Bill to do this for me this week
Update
Since the Winter Project Week, I have been able send simple Return Parameters from a Command Line Module to Slicer. Types supported include integer, float, double, string, boolean, integer-vector, float-vector, double-vector, string-vector, integer-enumeration, float-enumeration, double-enumeration, and string-enumeration.