Slicer  4.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerCropVolumeModule.h
Go to the documentation of this file.
1 #ifndef __qSlicerCropVolumeModule_h
2 #define __qSlicerCropVolumeModule_h
3 
4 // Slicer includes
6 
7 #include "qSlicerCropVolumeModuleExport.h"
8 
9 class qSlicerCropVolumeModulePrivate;
10 
12 class Q_SLICER_QTMODULES_CROPVOLUME_EXPORT qSlicerCropVolumeModule :
14 {
15  Q_OBJECT
16  Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
17  Q_INTERFACES(qSlicerLoadableModule);
18 
19 public:
20 
22  explicit qSlicerCropVolumeModule(QObject *parent=nullptr);
23  ~qSlicerCropVolumeModule() override;
24 
25  qSlicerGetTitleMacro(QTMODULE_TITLE);
26 
28  QIcon icon()const override;
29  QStringList categories() const override;
30 
31  QString helpText()const override;
32  QString acknowledgementText()const override;
33  QStringList contributors()const override;
34 
35  QStringList dependencies()const override;
36 
38  QStringList associatedNodeTypes()const override;
39 
40 protected:
42  void setup() override;
43 
46 
49 
50 protected:
51  QScopedPointer<qSlicerCropVolumeModulePrivate> d_ptr;
52 
53 private:
54  Q_DECLARE_PRIVATE(qSlicerCropVolumeModule);
55  Q_DISABLE_COPY(qSlicerCropVolumeModule);
56 
57 };
58 
59 #endif
virtual QStringList contributors() const
Return the contributors of the module.
Superclass for MRML logic classes.
virtual QIcon icon() const
virtual qSlicerAbstractModuleRepresentation * createWidgetRepresentation()=0
Create and return a widget representation for the module.
#define qSlicerGetTitleMacro(_TITLE)
QString acknowledgementText() const override
virtual vtkMRMLAbstractLogic * createLogic()=0
void setup() override
All initialization code should be done in the setup.
QScopedPointer< qSlicerCropVolumeModulePrivate > d_ptr
virtual QStringList associatedNodeTypes() const
Return node types associated with this module (e.g., node types this module can edit) ...
virtual QStringList dependencies() const
QString helpText() const override
Return help/acknowledgement text.
virtual QStringList categories() const
qSlicerLoadableModule Superclass