-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathPipelineModules.py
42 lines (35 loc) · 1.38 KB
/
PipelineModules.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
33
34
35
36
37
38
39
40
41
42
from slicer.ScriptedLoadableModule import *
#import all the default wrappings. doing the import will register them with the pipeline creator
from _PipelineModules import (
SegmentationsWrapping,
SegmentEditorWrapping,
SurfaceToolboxWrapping,
vtkWrapping,
)
#
# PipelineModules
#
class PipelineModules(ScriptedLoadableModule):
"""Uses ScriptedLoadableModule base class, available at:
https://github.com/Slicer/Slicer/blob/main/Base/Python/slicer/ScriptedLoadableModule.py
"""
def __init__(self, parent):
ScriptedLoadableModule.__init__(self, parent)
self.parent.title = "Pipeline Modules"
self.parent.categories = ["Pipelines.Advanced"]
self.parent.dependencies = ["PipelineCreator", "SegmentEditor", "Segmentations"]
self.parent.contributors = ["Connor Bowley (Kitware, Inc.)"]
self.parent.helpText = """
This module exists to create pipelines for the PipelineCreator to use.
"""
self.parent.acknowledgementText = "This module was originally developed by Connor Bowley (Kitware, Inc.) for SlicerSALT."
self.parent.hidden = True
#
# PipelineModulesLogic
#
class PipelineModulesLogic(ScriptedLoadableModuleLogic):
def __init__(self):
"""
Called when the logic class is instantiated. Can be used for initializing member variables.
"""
ScriptedLoadableModuleLogic.__init__(self)