Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
qSlicerLayerDMModule.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) Kitware SAS
6
7 See COPYRIGHT.txt
8 or http://www.slicer.org/copyright/copyright.txt for details.
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 This file was originally developed by Thibault Pelletier, Kitware SAS,
17 and was partially funded by ANR grants ANR-22-CE45-0034 and ANR-18-RHUS-005.
18
19==============================================================================*/
20
21#ifndef __qSlicerLayerDMModule_h
22#define __qSlicerLayerDMModule_h
23
24// Slicer includes
26
27#include "qSlicerLayerDMModuleExport.h"
28
29class qSlicerLayerDMModulePrivate;
30
31class Q_SLICER_QTMODULES_LAYERDM_EXPORT qSlicerLayerDMModule : public qSlicerLoadableModule
32{
33 Q_OBJECT
34 Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
35 Q_INTERFACES(qSlicerLoadableModule);
36
37public:
39 explicit qSlicerLayerDMModule(QObject* parent = nullptr);
41
42 qSlicerGetTitleMacro(tr("LayerDM"));
43
44 QString helpText() const override;
45 QString acknowledgementText() const override;
46 QStringList contributors() const override;
47
48 QIcon icon() const override;
49
50 QStringList categories() const override;
51 QStringList dependencies() const override;
52
53 bool isHidden() const override;
54
55protected:
57 void setup() override;
58
61
64
65private:
66 Q_DECLARE_PRIVATE(qSlicerLayerDMModule);
67 Q_DISABLE_COPY(qSlicerLayerDMModule);
68};
69
70#endif
qSlicerLoadableModule Superclass
void setup() override
Initialize the module. Register the volumes reader/writer.
QString acknowledgementText() const override
bool isHidden() const override
~qSlicerLayerDMModule() override
QStringList dependencies() const override
qSlicerLayerDMModule(QObject *parent=nullptr)
vtkMRMLAbstractLogic * createLogic() override
Create and return the logic associated to this module.
QIcon icon() const override
QStringList contributors() const override
Return the contributors of the module.
qSlicerGetTitleMacro(tr("LayerDM"))
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override
Create and return the widget representation associated to this module.
QString helpText() const override
QStringList categories() const override
qSlicerLoadableModule(QObject *parent=nullptr)
Superclass for MRML logic classes.