AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI Class Reference

Inheritance diagram for AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI:
SlicerScriptedModule::ScriptedModuleGUI object

List of all members.

Public Member Functions

def __init__
def AddGUIObservers
def BuildGUI
def Destructor
def GetHelper
def GetMyLogic
def InitializeByDefault
def Launch
def ProcessGUIEvents
def ProcessMRMLEvents
def RemoveGUIObservers
def RemoveLogicObservers
def RemoveMRMLNodeObservers
def TearDownGUI
def ToggleMeanAndDefaultCase1
def ToggleMeanAndDefaultCase2
def ToggleNormalize
def UpdateCaseCombobox
def UpdateGUI
def UpdateLabelList
def UpdateMRML

Private Attributes

 _advancedFrame
 _affineRadio
 _affineRadioTag
 _associatedMRMLNode
 _associatedMRMLNodeTag
 _atlascreatorPage
 _clusterCheckBox
 _clusterCheckBoxTag
 _clusterFrame
 _debugCheckBox
 _debugCheckBoxTag
 _defaultCaseCombo
 _defaultCaseComboTag
 _deformationTypeRadios
 _deleteAlignedImagesCheckBox
 _deleteAlignedImagesCheckBoxTag
 _deleteAlignedSegmentationsCheckBox
 _deleteAlignedSegmentationsCheckBoxTag
 _dryrunCheckBox
 _dryrunCheckBoxTag
 _groupOnlineRadio
 _groupOnlineRadioTag
 _helpAboutFrame
 _helper
 _inputOutputFrame
 _labelsEntry
 _labelsEntryTag
 _launchButton
 _launchButtonTag
 _logic
 _maxEigenVectorsSpinBox
 _maxEigenVectorsSpinBoxTag
 _meanIterationsSpinBox
 _meanIterationsSpinBoxTag
 _miscFrame
 _moduleFrame
 _mrmlNodeAddedTag
 _mrmlSceneCloseTag
 _nonRigidRadio
 _nonRigidRadioTag
 _normalizeAtlasCheckBox
 _normalizeAtlasCheckBoxTag
 _normalizeValueEntry
 _normalizeValueEntryTag
 _origDirButton
 _origDirButtonTag
 _outDirButton
 _outDirButtonTag
 _outputCastCombo
 _outputCastComboTag
 _pairFixedRadio
 _pairFixedRadioTag
 _pairOnlineRadio
 _pairOnlineRadioTag
 _parametersFrame
 _pcaCheckBox
 _pcaCheckBoxTag
 _pcaCombineCheckBox
 _pcaCombineCheckBoxTag
 _pcaFrame
 _registrationTypeRadios
 _saveTransformsCheckBox
 _saveTransformsCheckBoxTag
 _schedulerEntry
 _schedulerEntryTag
 _segDirButton
 _segDirButtonTag
 _toolkitCombo
 _toolkitComboTag
 _transformsDirButton
 _transformsDirButtonTag
 _transformsFrame
 _transformsTemplateButton
 _transformsTemplateButtonTag
 _updating
 _useExistingTransformsCheckBox
 _useExistingTransformsCheckBoxTag

Detailed Description

The AtlasCreator GUI class.
==========================================================================================

Member Function Documentation

def AtlasCreator::AtlasCreatorGUI::AtlasCreatorGUI::__init__ (   self  ) 
Constructor of the AtlasCreator GUI class. Sets category, name of the module and creates GUI objects.

Reimplemented from SlicerScriptedModule::ScriptedModuleGUI.

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  ) 
Deletes the GUI
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:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1