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