-
Notifications
You must be signed in to change notification settings - Fork 60
/
qSlicerBeamsModule.h
90 lines (63 loc) · 2.72 KB
/
qSlicerBeamsModule.h
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/*==============================================================================
Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
Queen's University, Kingston, ON, Canada. All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This file was originally developed by Csaba Pinter, PerkLab, Queen's University
and was supported through the Applied Cancer Research Unit program of Cancer Care
Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
==============================================================================*/
#ifndef __qSlicerBeamsModule_h
#define __qSlicerBeamsModule_h
// SlicerQt includes
#include "qSlicerLoadableModule.h"
#include "qSlicerBeamsModuleExport.h"
class qSlicerBeamsModulePrivate;
/// \ingroup SlicerRt_QtModules_Beams
class Q_SLICER_QTMODULES_BEAMS_EXPORT qSlicerBeamsModule :
public qSlicerLoadableModule
{
Q_OBJECT
#ifdef Slicer_HAVE_QT5
Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
#endif
Q_INTERFACES(qSlicerLoadableModule);
public:
typedef qSlicerLoadableModule Superclass;
explicit qSlicerBeamsModule(QObject *parent=nullptr);
~qSlicerBeamsModule() override;
qSlicerGetTitleMacro(QTMODULE_TITLE);
/// Help to use the module
QString helpText()const override;
/// Return acknowledgments
QString acknowledgementText()const override;
/// Return the authors of the module
QStringList contributors()const override;
/// Return a custom icon for the module
QIcon icon()const override;
/// Return the categories for the module
QStringList categories()const override;
/// List dependencies
QStringList dependencies()const override;
/// Define associated node types
QStringList associatedNodeTypes()const override;
public:
protected:
/// Initialize the module. Register the volumes reader/writer
void setup() override;
/// Create and return the widget representation associated to this module
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override;
/// Create and return the logic associated to this module
vtkMRMLAbstractLogic* createLogic() override;
protected:
QScopedPointer<qSlicerBeamsModulePrivate> d_ptr;
private:
Q_DECLARE_PRIVATE(qSlicerBeamsModule);
Q_DISABLE_COPY(qSlicerBeamsModule);
};
#endif