AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI Class Reference
List of all members.
Detailed Description
The AtlasCreator GUI class.
==========================================================================================
Member Function Documentation
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::__init__ |
( |
|
self |
) |
|
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::AddGUIObservers |
( |
|
self |
) |
|
Add the Observers. This method gets called automatically when the module gets created.
For convenience, we also add the MRML observers here.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::BuildGUI |
( |
|
self |
) |
|
Creates the Graphical User Interface (GUI) of the AtlasCreator. Gets called once during loading of the module.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::Destructor |
( |
|
self |
) |
|
Destruct this class. Gets called automatically.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::GetHelper |
( |
|
self |
) |
|
Returns the current Helper class.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::GetMyLogic |
( |
|
self |
) |
|
Returns the current logic class.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::InitializeByDefault |
( |
|
self |
) |
|
Resets the GUI to default values.
Returns nothing.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::Launch |
( |
|
self |
) |
|
Starts an Atlas Creator computation by passing the associated MRML Node to the logic.
Returns FALSE on failure
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::ProcessGUIEvents |
( |
|
self, |
|
|
|
caller, |
|
|
|
event | |
|
) |
| | |
Gets called on GUI Events to handle them.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::ProcessMRMLEvents |
( |
|
self, |
|
|
|
callerID, |
|
|
|
event, |
|
|
|
callDataID = None | |
|
) |
| | |
Gets called on MRML Events to handle them.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::RemoveGUIObservers |
( |
|
self |
) |
|
Removes all created GUI observers. Gets called automatically.
For convenience, we also remove the MRML Scene observers here.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::RemoveLogicObservers |
( |
|
self |
) |
|
Placeholder to remove logic observers. Does not get used here but needs to exist.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::RemoveMRMLNodeObservers |
( |
|
self |
) |
|
Remove MRML Node and MRML Scene Observers
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::TearDownGUI |
( |
|
self |
) |
|
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::ToggleMeanAndDefaultCase1 |
( |
|
self |
) |
|
Callback for the pairFixed checkbox. Gets called when the user clicks on the checkbox.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::ToggleMeanAndDefaultCase2 |
( |
|
self |
) |
|
Callback for the pairOnline checkbox. Gets called when the user clicks on the checkbox.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::ToggleNormalize |
( |
|
self |
) |
|
Callback for the normalize checkbox. Gets called when the user clicks on it.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::UpdateCaseCombobox |
( |
|
self, |
|
|
|
imagesDir, |
|
|
|
segmentationsDir | |
|
) |
| | |
Updates the defaultCaseCombobox by checking which files are available as originals and segmentations and
reading the basenames of these files.
imagesDir - the filePath to the directory of the images
segmentationsDir - the filePath to the directory of the segmentations
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::UpdateGUI |
( |
|
self |
) |
|
Reads the MRML node and propagates it to the GUI. This is called whenever the MRML node gets
changed externally.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::UpdateLabelList |
( |
|
self |
) |
|
Updates the list of labels in the GUI according to the first of all segmentations or if a defaultCase is
specified, then takes the labels from this file.
| def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::UpdateMRML |
( |
|
self |
) |
|
Writes the current GUI to the MRML Node. This is called whenever an element on the GUI
changes.
Member Data Documentation
The documentation for this class was generated from the following file: