Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Member Functions | Public Attributes
Python.AbstractScriptedSubjectHierarchyPlugin.AbstractScriptedSubjectHierarchyPlugin Class Reference

Public Member Functions

def __init__ (self, scriptedPlugin)
 
def register (self)
 

Public Attributes

 scriptedPlugin
 

Detailed Description

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://subversion.assembla.com/svn/slicerrt/trunk/VolumeClip/src

Definition at line 8 of file AbstractScriptedSubjectHierarchyPlugin.py.

Constructor & Destructor Documentation

◆ __init__()

def Python.AbstractScriptedSubjectHierarchyPlugin.AbstractScriptedSubjectHierarchyPlugin.__init__ (   self,
  scriptedPlugin 
)

Definition at line 27 of file AbstractScriptedSubjectHierarchyPlugin.py.

Member Function Documentation

◆ register()

def Python.AbstractScriptedSubjectHierarchyPlugin.AbstractScriptedSubjectHierarchyPlugin.register (   self)

Definition at line 33 of file AbstractScriptedSubjectHierarchyPlugin.py.

Member Data Documentation

◆ scriptedPlugin

Python.AbstractScriptedSubjectHierarchyPlugin.AbstractScriptedSubjectHierarchyPlugin.scriptedPlugin

Definition at line 28 of file AbstractScriptedSubjectHierarchyPlugin.py.


The documentation for this class was generated from the following file: