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
qSlicerVolumeRenderingModule.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) 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 This file was originally developed by Alex Yarmakovich, Isomics Inc.
17 and was partially funded by NIH grant 3P41RR013218-12S1
18
19==============================================================================*/
20
21#ifndef __qSlicerVolumeRenderingModule_h
22#define __qSlicerVolumeRenderingModule_h
23
24// CTK includes
25#include <ctkPimpl.h>
26
27// Slicer includes
29
30#include "qSlicerVolumeRenderingModuleExport.h"
31
32class qSlicerVolumeRenderingModulePrivate;
33
34class Q_SLICER_QTMODULES_VOLUMERENDERING_EXPORT qSlicerVolumeRenderingModule :
36{
37 Q_OBJECT
38 Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
39 Q_INTERFACES(qSlicerLoadableModule);
40
41public:
42
44 explicit qSlicerVolumeRenderingModule(QObject *parent=nullptr);
46
48 QString title()const override;
50 QString helpText()const override;
52 QString acknowledgementText()const override;
54 QStringList contributors()const override;
55
57 QIcon icon()const override;
58
59 QStringList categories()const override;
60
62 QStringList associatedNodeTypes()const override;
63
64protected:
66 void setup() override;
67
70
73
74protected:
75 QScopedPointer<qSlicerVolumeRenderingModulePrivate> d_ptr;
76
77private:
78 Q_DECLARE_PRIVATE(qSlicerVolumeRenderingModule);
79 Q_DISABLE_COPY(qSlicerVolumeRenderingModule);
80
81};
82
83#endif
qSlicerLoadableModule(QObject *parent=nullptr)
QStringList associatedNodeTypes() const override
Specify editable node types.
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override
Create and return the widget representation associated to this module.
qSlicerVolumeRenderingModule(QObject *parent=nullptr)
vtkMRMLAbstractLogic * createLogic() override
Create and return the logic associated to this module.
QString title() const override
Title of the module.
void setup() override
Initialize the module. Register the volumes reader/writer.
~qSlicerVolumeRenderingModule() override
QString acknowledgementText() const override
Acknowledgement for the module.
QStringList contributors() const override
Contributors of the module.
QScopedPointer< qSlicerVolumeRenderingModulePrivate > d_ptr
QIcon icon() const override
Return a custom icon for the module.
QString helpText() const override
Help of the module.
QStringList categories() const override
Superclass for MRML logic classes.