Exemplo n.º 1
0
    def __init__(self):

        ScriptedModuleGUI.__init__(self)

        self.SetCategory("Vascular Modeling Toolkit")
        self.SetModuleName("Level-Set Segmentation using VMTK")
        self.SetGUIName("Level-Set Segmentation using VMTK")

        self._moduleNodeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._inVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._inVolumeSelectorSnd = slicer.vtkSlicerNodeSelectorWidget()

        self._topFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._advancedInitFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._initImageCheckbox = slicer.vtkKWCheckButton()
        self._advancedInitTabs = slicer.vtkKWNotebook()

        self._advancedInitMergeAndEndFrame = slicer.vtkKWFrame()
        self._infoLabel = slicer.vtkKWLabel()
        self._advancedInitMergeAndEndButtonSet = slicer.vtkKWPushButtonSet()

        self._advancedEvolFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._evolImageCheckbox = slicer.vtkKWCheckButton()
        self._advancedEvolTabs = slicer.vtkKWNotebook()

        self._advancedEvolUndoAndEndFrame = slicer.vtkKWFrame()
        self._advancedEvolUndoAndEndButtonSet = slicer.vtkKWPushButtonSet()

        self._helper = SlicerVMTKLevelSetGUIHelper(self)
        self._logic = SlicerVMTKLevelSetLogic(self)

        self._outInitVolume = None
        self._outInitVolumeLast = None

        self._outEvolVolume = None
        self._outEvolVolumeLast = None

        self._outInitModel = None
        self._outInitModelDisplay = None

        self._outEvolModel = None
        self._outEvolModelDisplay = None

        self._initPages = []

        self._evolPages = []

        self._updating = 0

        self._state = -1
    def __init__(self):

        ScriptedModuleGUI.__init__(self)

        self.SetCategory("Vascular Modeling Toolkit")
        self.SetModuleName("Level-Set Segmentation using VMTK")
        self.SetGUIName("Level-Set Segmentation using VMTK")

        self._moduleNodeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._inVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._inVolumeSelectorSnd = slicer.vtkSlicerNodeSelectorWidget()

        self._topFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._advancedInitFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._initImageCheckbox = slicer.vtkKWCheckButton()
        self._advancedInitTabs = slicer.vtkKWNotebook()

        self._advancedInitMergeAndEndFrame = slicer.vtkKWFrame()
        self._infoLabel = slicer.vtkKWLabel()
        self._advancedInitMergeAndEndButtonSet = slicer.vtkKWPushButtonSet()

        self._advancedEvolFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._evolImageCheckbox = slicer.vtkKWCheckButton()
        self._advancedEvolTabs = slicer.vtkKWNotebook()

        self._advancedEvolUndoAndEndFrame = slicer.vtkKWFrame()
        self._advancedEvolUndoAndEndButtonSet = slicer.vtkKWPushButtonSet()

        self._helper = SlicerVMTKLevelSetGUIHelper(self)
        self._logic = SlicerVMTKLevelSetLogic(self)

        self._outInitVolume = None
        self._outInitVolumeLast = None

        self._outEvolVolume = None
        self._outEvolVolumeLast = None

        self._outInitModel = None
        self._outInitModelDisplay = None

        self._outEvolModel = None
        self._outEvolModelDisplay = None

        self._initPages = []

        self._evolPages = []

        self._updating = 0

        self._state = -1
    def __init__(self):

        ScriptedModuleGUI.__init__(self)

        self.SetCategory("Vascular Modeling Toolkit")
        self.SetModuleName("VMTKVesselEnhancement")
        self.SetGUIName("Vessel Enhancement using VMTK")

        self._moduleFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._moduleNodeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._moduleExistingSetsNodeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._inVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()

        self._topFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._advancedFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._advancedTabs = slicer.vtkKWNotebook()

        self._dummyLabel = slicer.vtkKWPushButton()

        self._logic = SlicerVMTKVesselEnhancementLogic(self)

        self._presetsScene = None # a new MRML Scene for the self._presetsScene environment


        self._updating = 0

        self._pages = []
Exemplo n.º 4
0
    def __init__(self):

        ScriptedModuleGUI.__init__(self)

        self.SetCategory("Vascular Modeling Toolkit")
        self.SetModuleName("VMTKVesselEnhancement")
        self.SetGUIName("Vessel Enhancement using VMTK")

        self._moduleFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._moduleNodeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._moduleExistingSetsNodeSelector = slicer.vtkSlicerNodeSelectorWidget(
        )
        self._inVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()

        self._topFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._advancedFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._advancedTabs = slicer.vtkKWNotebook()

        self._dummyLabel = slicer.vtkKWPushButton()

        self._logic = SlicerVMTKVesselEnhancementLogic(self)

        self._presetsScene = None  # a new MRML Scene for the self._presetsScene environment

        self._updating = 0

        self._pages = []