Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qSlicerReformatModule.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) Kitware Inc.
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 Michael Jeulin-Lagarrigue, Kitware Inc.
17 and was partially funded by NIH grant 3P41RR013218-12S1
18
19==============================================================================*/
20
21#ifndef __qSlicerReformatModule_h
22#define __qSlicerReformatModule_h
23
24// Slicer includes
26
27#include "qSlicerReformatModuleExport.h"
28
29class qSlicerReformatModulePrivate;
30
31class Q_SLICER_QTMODULES_REFORMAT_EXPORT
33{
34 Q_OBJECT
35 Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
36 Q_INTERFACES(qSlicerLoadableModule);
37
38public:
39
41 explicit qSlicerReformatModule(QObject *parent=nullptr);
43
44 qSlicerGetTitleMacro(tr("Reformat"));
45
47 QString helpText()const override;
48
50 QString acknowledgementText()const override;
51
53 QIcon icon()const override;
54
56 QStringList categories()const override;
57
59 QStringList contributors()const override;
60
62 QStringList associatedNodeTypes()const override;
63
64protected:
65
67 void setup() override;
68
71
74
75protected:
76 QScopedPointer<qSlicerReformatModulePrivate> d_ptr;
77
78private:
79 Q_DECLARE_PRIVATE(qSlicerReformatModule);
80 Q_DISABLE_COPY(qSlicerReformatModule);
81
82};
83
84#endif
qSlicerLoadableModule(QObject *parent=nullptr)
~qSlicerReformatModule() override
qSlicerGetTitleMacro(tr("Reformat"))
QStringList categories() const override
Return the category for the module.
qSlicerReformatModule(QObject *parent=nullptr)
QIcon icon() const override
Return a custom icon for the module.
vtkMRMLAbstractLogic * createLogic() override
Create and return the logic associated to this module.
QString acknowledgementText() const override
Return acknowledgements.
void setup() override
Initialize the module. Register the volumes reader/writer.
QString helpText() const override
Help to use the module.
QScopedPointer< qSlicerReformatModulePrivate > d_ptr
QStringList associatedNodeTypes() const override
Specify editable node types.
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override
Create and return the widget representation associated to this module.
qSlicerLoadableModule Superclass
QStringList contributors() const override
Return the contributor for the module.
Superclass for MRML logic classes.