Ejemplo n.º 1
0
 def clone(self):
   import qSlicerSegmentationsEditorEffectsPythonQt as effects
   clonedEffect = effects.qSlicerSegmentEditorScriptedLabelEffect(None)
   clonedEffect.setPythonSource(__file__.replace('\\','/'))
   return clonedEffect
Ejemplo n.º 2
0
 def clone(self):
     import qSlicerSegmentationsEditorEffectsPythonQt as effects
     clonedEffect = effects.qSlicerSegmentEditorScriptedLabelEffect(None)
     clonedEffect.setPythonSource(__file__.replace('\\', '/'))
     return clonedEffect
Ejemplo n.º 3
0
 def clone(self):
   import qSlicerSegmentationsEditorEffectsPythonQt as effects
   clonedEffect = effects.qSlicerSegmentEditorScriptedLabelEffect(None)
   clonedEffect.setPythonSource(SegmentEditorDrawEffect.filePath)
   return clonedEffect