Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
DICOM2FullBrainTractography.py
Go to the documentation of this file.
00001 from __main__ import vtk, qt, ctk, slicer
00002 import DICOM2FullBrainTractographyLib
00003 #
00004 # DICOM2FullBrainTractography
00005 #
00006 
00007 class DICOM2FullBrainTractography:
00008   def __init__(self, parent):
00009     parent.title = "DWI to Full Brain Tractography"
00010     parent.categories = ["Diffusion"]
00011     parent.contributors = ["Demian Wassermann (SPL)"]
00012     parent.helpText = """
00013     Example of scripted loadable extension.
00014     """
00015     parent.acknowledgementText = """
00016     This module was developed by Demian Wassermann, LMI/PNL/SPL Brigham and Women's Hospital & Harvard Medical School
00017     """
00018     self.parent = parent
00019 
00020 #
00021 # qDICOM2FullBrainTractographyWidget
00022 #
00023 
00024 class DICOM2FullBrainTractographyWidget:
00025   def __init__(self, parent = None):
00026     if not parent:
00027       self.parent = slicer.qMRMLWidget()
00028       self.parent.setLayout(qt.QVBoxLayout())
00029       self.parent.setMRMLScene(slicer.mrmlScene)
00030     else:
00031       self.parent = parent
00032     self.layout = self.parent.layout()
00033     if not parent:
00034       self.setup()
00035       self.parent.show()
00036 
00037   def setup(self):
00038     # Instantiate and connect widgets ...
00039 
00040     # Collapsible button
00041     #dummyCollapsibleButton = ctk.ctkCollapsibleButton()
00042     #dummyCollapsibleButton.text = "A collapsible button"
00043 
00044     self.full_tractography_workflow = DICOM2FullBrainTractographyLib.Workflow(
00045         DICOM2FullBrainTractographyLib.WorkflowConfiguration(),
00046         self.layout
00047     )
00048 
00049   def enter(self):
00050       pass
00051 
00052   def exit(self):
00053       pass
00054 
00055 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines