Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Public Member Functions | |
def | __init__ (self, scriptedPlugin) |
def | register (self) |
Public Attributes | |
scriptedPlugin | |
Abstract scripted subject hierarchy plugin for python scripted plugins USAGE: Instantiate scripted subject hierarchy plugin adaptor class from module (e.g. from setup function), and set python source: from SubjectHierarchyPlugins import * ... class [Module]Widget(ScriptedLoadableModuleWidget): ... def setup(self): ... scriptedPlugin = slicer.qSlicerSubjectHierarchyScriptedPlugin(None) scriptedPlugin.setPythonSource(VolumeClipSubjectHierarchyPlugin.filePath) ... Example can be found here: https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#subject-hierarchy-plugin-offering-view-context-menu-action
Definition at line 10 of file AbstractScriptedSubjectHierarchyPlugin.py.
def Python.AbstractScriptedSubjectHierarchyPlugin.AbstractScriptedSubjectHierarchyPlugin.__init__ | ( | self, | |
scriptedPlugin | |||
) |
Definition at line 29 of file AbstractScriptedSubjectHierarchyPlugin.py.
def Python.AbstractScriptedSubjectHierarchyPlugin.AbstractScriptedSubjectHierarchyPlugin.register | ( | self | ) |
Definition at line 35 of file AbstractScriptedSubjectHierarchyPlugin.py.
Python.AbstractScriptedSubjectHierarchyPlugin.AbstractScriptedSubjectHierarchyPlugin.scriptedPlugin |
Definition at line 30 of file AbstractScriptedSubjectHierarchyPlugin.py.