def __init__(self, parent=None): DeviceWidget.__init__(self, parent) self.observedParameterNodeEvents = [ vtk.vtkCommand.ModifiedEvent, CardiacDeviceBase.DEVICE_PROFILE_MODIFIED_EVENT ] self.setup()
def __init__(self, registeredDeviceClasses, parent=None): DeviceWidget.__init__(self, parent) self.registeredDeviceClasses = registeredDeviceClasses self.observedParameterNodeEvents = [CardiacDeviceBase.DEVICE_CLASS_MODIFIED_EVENT, CardiacDeviceBase.DEVICE_PARAMETER_VALUE_MODIFIED_EVENT] self.deviceWidgetFrames = dict() self.deviceWidgetFrame = None self.inUpdateGUIFromMRML = False self.setup()
def __init__(self, parent=None): DeviceWidget.__init__(self, parent) self.observedParameterNodeEvents = [vtk.vtkCommand.ModifiedEvent, CardiacDeviceBase.DEVICE_PROFILE_MODIFIED_EVENT] self.setup() resliceLogic = slicer.modules.volumereslicedriver.logic() self.resliceConfig = [ ('vtkMRMLSliceNodeRed', resliceLogic.MODE_TRANSVERSE), ('vtkMRMLSliceNodeGreen', resliceLogic.MODE_CORONAL), ('vtkMRMLSliceNodeYellow', resliceLogic.MODE_SAGITTAL)]
def __init__(self, parent=None): DeviceWidget.__init__(self, parent) self.observedParameterNodeEvents = [vtk.vtkCommand.ModifiedEvent] self.setup()
def __init__(self, parent=None): DeviceWidget.__init__(self, parent) self.observedParameterNodeEvents = [CardiacDeviceBase.QUANTIFICATION_RESULT_UPDATED_EVENT] self.setup()