def __init__(self,parentFrame,parentClass):
        SlicerVMTKAdvancedPageSkeleton.__init__(self,parentFrame,parentClass)

        self._iterationsThumbwheel = slicer.vtkKWThumbWheel()
        self._weightsFrame = slicer.vtkKWFrameWithLabel()
        self._propagationScalingSpinBox = slicer.vtkKWSpinBoxWithLabel()
        self._curvatureScalingSpinBox = slicer.vtkKWSpinBoxWithLabel()
        self._advectionScalingSpinBox = slicer.vtkKWSpinBoxWithLabel()
        self._startButton = slicer.vtkKWPushButton()
        self._resetButton = slicer.vtkKWPushButton()
    def __init__(self,parentFrame,parentClass):
        SlicerVMTKAdvancedPageSkeleton.__init__(self,parentFrame,parentClass)

        self._spinboxFrame = slicer.vtkKWFrameWithLabel()
        self._thrFrame = slicer.vtkKWFrameWithLabel()

        self._sigmaUnit  = slicer.vtkKWRadioButtonSetWithLabel()        

        self._sigmaMin = slicer.vtkKWSpinBoxWithLabel()
        self._sigmaMax = slicer.vtkKWSpinBoxWithLabel()
        self._numberOfSigmaSteps = slicer.vtkKWThumbWheel()
        self._alpha = slicer.vtkKWSpinBoxWithLabel()
        self._alpha2 = slicer.vtkKWSpinBoxWithLabel()

        self._startButton = slicer.vtkKWPushButton()
    def __init__(self):

        ScriptedModuleGUI.__init__(self)

        self.SetCategory("Vascular Modeling Toolkit")
        self.SetGUIName("Centerline computation using VMTK")

        self._moduleFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._inModelSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._seedsSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._targetSeedsSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outModelPrepSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outModelSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._fiducialSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._importModelSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outVSelector = slicer.vtkSlicerNodeSelectorWidget()



        self._topFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._sndFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._sndFrameb = slicer.vtkSlicerModuleCollapsibleFrame()
        self._thirdFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._fourthFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._fifthFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._startButton = slicer.vtkKWPushButton()

        self._prepButton = slicer.vtkKWPushButton()

        self._saveButton = slicer.vtkKWLoadSaveButton()

        self._fidDensity = slicer.vtkKWSpinBoxWithLabel()
        self._fidButton = slicer.vtkKWPushButton()

    	self._exportDetails = slicer.vtkKWCheckButton()
    	self._exportHeaders = slicer.vtkKWCheckButton()
    	self._exportNifti = slicer.vtkKWCheckButton()

        self._exportButton = slicer.vtkKWPushButton()

        self._loadButton = slicer.vtkKWLoadSaveButton()

    	self._importHeaders = slicer.vtkKWCheckButton()
    	self._importNifti = slicer.vtkKWCheckButton()


        self._importButton = slicer.vtkKWPushButton()

        self._helper = VMTKCenterlinesHelper(self)

        self._logic = VMTKCenterlinesLogic(self)

        self._updating = 0
    def __init__(self,parentFrame,parentClass):
        SlicerVMTKAdvancedPageSkeleton.__init__(self,parentFrame,parentClass)

        self._spinboxFrame = slicer.vtkKWFrameWithLabel()

        self._sigmaMin = slicer.vtkKWSpinBoxWithLabel()
        self._sigmaMax = slicer.vtkKWSpinBoxWithLabel()
        self._numberOfSigmaSteps = slicer.vtkKWThumbWheel()
        self._alpha = slicer.vtkKWSpinBoxWithLabel()
        self._beta = slicer.vtkKWSpinBoxWithLabel()
        self._gamma = slicer.vtkKWSpinBoxWithLabel()
        self._c = slicer.vtkKWSpinBoxWithLabel()
        self._timestep = slicer.vtkKWSpinBoxWithLabel()
        self._epsilon = slicer.vtkKWSpinBoxWithLabel()
        self._wstrength = slicer.vtkKWSpinBoxWithLabel()
        self._sensitivity = slicer.vtkKWSpinBoxWithLabel()
        self._numberOfIterations = slicer.vtkKWThumbWheel()
        self._numberOfDiffusionSubIterations = slicer.vtkKWThumbWheel()

        self._startButton = slicer.vtkKWPushButton()
示例#5
0
    def __init__(self, parentFrame, parentClass):
        SlicerVMTKAdvancedPageSkeleton.__init__(self, parentFrame, parentClass)

        self._spinboxFrame = slicer.vtkKWFrameWithLabel()

        self._sigmaMin = slicer.vtkKWSpinBoxWithLabel()
        self._sigmaMax = slicer.vtkKWSpinBoxWithLabel()
        self._numberOfSigmaSteps = slicer.vtkKWThumbWheel()
        self._alpha = slicer.vtkKWSpinBoxWithLabel()
        self._beta = slicer.vtkKWSpinBoxWithLabel()
        self._gamma = slicer.vtkKWSpinBoxWithLabel()
        self._c = slicer.vtkKWSpinBoxWithLabel()
        self._timestep = slicer.vtkKWSpinBoxWithLabel()
        self._epsilon = slicer.vtkKWSpinBoxWithLabel()
        self._wstrength = slicer.vtkKWSpinBoxWithLabel()
        self._sensitivity = slicer.vtkKWSpinBoxWithLabel()
        self._numberOfIterations = slicer.vtkKWThumbWheel()
        self._numberOfDiffusionSubIterations = slicer.vtkKWThumbWheel()

        self._startButton = slicer.vtkKWPushButton()
    def __init__(self):

        ScriptedModuleGUI.__init__(self)

        self.SetCategory("Vascular Modeling Toolkit")
        #self.SetModuleName("VMTKEasyLevelSetSegmentation")
        self.SetGUIName("Easy LevelSetSegmentation using VMTK")

        self._moduleFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._moduleNodeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._moduleExistingSetsNodeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._moduleNewEntry = slicer.vtkKWEntryWithLabel()
        self._moduleNewButton = slicer.vtkKWPushButton()


        self._inVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._seedsSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._targetSeedsSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outEvolVolumeSelector = slicer.vtkSlicerNodeSelectorWidget()

        self._vrCheckButton = slicer.vtkKWCheckButton()

        self._topFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._initFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._evolFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._sbCheckButton = slicer.vtkKWCheckButton()        
        self._thresholdExtent = slicer.vtkKWExtent()

        self._startButton = slicer.vtkKWPushButton()

        self._evolMethod  = slicer.vtkKWRadioButtonSetWithLabel()   
        self._propagationScale = slicer.vtkKWScaleWithEntry()
        self._curvatureScale = slicer.vtkKWScaleWithEntry()
        self._advectionScale = slicer.vtkKWScaleWithEntry()

        self._iterationsSpinbox = slicer.vtkKWSpinBoxWithLabel()

        self._evolStartButton = slicer.vtkKWPushButton()

        self._helper = VMTKEasyLevelSetSegmentationHelper(self)

        self._logic = VMTKEasyLevelSetSegmentationLogic(self)

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

        self._outInitModelDisplay = None

        self._updating = 0

        self._pages = []
示例#7
0
    def __init__(self):

        ScriptedModuleGUI.__init__(self)

        self.SetCategory("Vascular Modeling Toolkit")
        self.SetGUIName("Centerline computation using VMTK")

        self._moduleFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._inModelSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._seedsSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._targetSeedsSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outModelPrepSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outModelSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._fiducialSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._importModelSelector = slicer.vtkSlicerNodeSelectorWidget()
        self._outVSelector = slicer.vtkSlicerNodeSelectorWidget()

        self._topFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._sndFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._sndFrameb = slicer.vtkSlicerModuleCollapsibleFrame()
        self._thirdFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._fourthFrame = slicer.vtkSlicerModuleCollapsibleFrame()
        self._fifthFrame = slicer.vtkSlicerModuleCollapsibleFrame()

        self._startButton = slicer.vtkKWPushButton()

        self._prepButton = slicer.vtkKWPushButton()

        self._saveButton = slicer.vtkKWLoadSaveButton()

        self._fidDensity = slicer.vtkKWSpinBoxWithLabel()
        self._fidButton = slicer.vtkKWPushButton()

        self._exportDetails = slicer.vtkKWCheckButton()
        self._exportHeaders = slicer.vtkKWCheckButton()
        self._exportNifti = slicer.vtkKWCheckButton()

        self._exportButton = slicer.vtkKWPushButton()

        self._loadButton = slicer.vtkKWLoadSaveButton()

        self._importHeaders = slicer.vtkKWCheckButton()
        self._importNifti = slicer.vtkKWCheckButton()

        self._importButton = slicer.vtkKWPushButton()

        self._helper = VMTKCenterlinesHelper(self)

        self._logic = VMTKCenterlinesLogic(self)

        self._updating = 0