forked from QIICR/SlicerDevelopmentToolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSlicerDevelopmentToolbox.py
32 lines (26 loc) · 970 Bytes
/
SlicerDevelopmentToolbox.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import slicer
from slicer.ScriptedLoadableModule import *
class SlicerDevelopmentToolboxClass(object):
def __init__(self):
pass
class SlicerDevelopmentToolbox(ScriptedLoadableModule):
"""
This class is the 'hook' for slicer to detect and recognize the plugin
as a loadable scripted module
"""
def __init__(self, parent):
ScriptedLoadableModule.__init__(self, parent)
parent.title = "SlicerDevelopmentToolbox Utils"
parent.categories = ["Developer Tools.Utils"]
parent.hidden = True
parent.contributors = ["Christian Herz (SPL), Andrey Fedorov (SPL)"]
parent.helpText = """
This class represents a hidden module which includes a lot of useful
helpers, constants, decorators and mixins.
No module interface here.
"""
parent.acknowledgementText = """
These SlicerDevelopmentToolbox utils were developed by
Christian Herz, SPL
"""
slicer.modules.slicerprostate = SlicerDevelopmentToolboxClass