Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
qSlicerMultiVolumeExplorerModule.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
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==============================================================================*/
17
18#ifndef __qSlicerMultiVolumeExplorerModule_h
19#define __qSlicerMultiVolumeExplorerModule_h
20
21// SlicerQt includes
23
24#include "qSlicerMultiVolumeExplorerModuleExport.h"
25
26class qSlicerMultiVolumeExplorerModulePrivate;
27
29class Q_SLICER_QTMODULES_MULTIVOLUMEEXPLORER_EXPORT qSlicerMultiVolumeExplorerModule : public qSlicerLoadableModule
30{
31 Q_OBJECT
32 Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
33 Q_INTERFACES(qSlicerLoadableModule);
34
35public:
37 explicit qSlicerMultiVolumeExplorerModule(QObject* parent = 0);
39
40 qSlicerGetTitleMacro(QTMODULE_TITLE);
41
43 virtual QString helpText() const override;
44
46 virtual QString acknowledgementText() const override;
47
49 virtual QIcon icon() const override;
50
52 virtual QStringList categories() const override;
53
55 virtual QStringList dependencies() const override;
56
58 virtual QStringList contributors() const override;
59
60protected:
62 virtual void setup() override;
63
66
68 virtual vtkMRMLAbstractLogic* createLogic() override;
69
70protected:
71 QScopedPointer<qSlicerMultiVolumeExplorerModulePrivate> d_ptr;
72
73private:
74 Q_DECLARE_PRIVATE(qSlicerMultiVolumeExplorerModule);
76};
77
78#endif
qSlicerLoadableModule(QObject *parent=nullptr)
qSlicerMultiVolumeExplorerModule(QObject *parent=0)
virtual void setup() override
Initialize the module. Register the volumes reader/writer.
virtual QStringList dependencies() const override
Return the dependencies.
virtual QStringList contributors() const override
Return the contributors.
virtual qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override
Create and return the widget representation associated to this module.
QScopedPointer< qSlicerMultiVolumeExplorerModulePrivate > d_ptr
virtual QString acknowledgementText() const override
Return acknowledgements.
qSlicerGetTitleMacro(QTMODULE_TITLE)
virtual QString helpText() const override
Help to use the module.
virtual QIcon icon() const override
Return a custom icon for the module.
virtual QStringList categories() const override
Return the categories.
virtual vtkMRMLAbstractLogic * createLogic() override
Create and return the logic associated to this module.
Superclass for MRML logic classes.