Exemplo n.º 1
0
 def __init__(self, parent=None):
     DeviceWidget.__init__(self, parent)
     self.observedParameterNodeEvents = [
         vtk.vtkCommand.ModifiedEvent,
         CardiacDeviceBase.DEVICE_PROFILE_MODIFIED_EVENT
     ]
     self.setup()
Exemplo n.º 2
0
 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()
Exemplo n.º 3
0
 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)]
Exemplo n.º 4
0
 def __init__(self, parent=None):
     DeviceWidget.__init__(self, parent)
     self.observedParameterNodeEvents = [vtk.vtkCommand.ModifiedEvent]
     self.setup()
Exemplo n.º 5
0
 def __init__(self, parent=None):
   DeviceWidget.__init__(self, parent)
   self.observedParameterNodeEvents = [CardiacDeviceBase.QUANTIFICATION_RESULT_UPDATED_EVENT]
   self.setup()