21 #ifndef __qSlicerSegmentationsModule_h 22 #define __qSlicerSegmentationsModule_h 25 #include "ctkVTKObject.h" 30 #include "qSlicerSegmentationsModuleExport.h" 32 class qSlicerSegmentationsModulePrivate;
39 Q_PLUGIN_METADATA(IID
"org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
63 QIcon
icon()
const override;
77 void setup()
override;
88 void onNodeAdded(vtkObject* scene, vtkObject* nodeObject);
91 QScopedPointer<qSlicerSegmentationsModulePrivate>
d_ptr;
virtual void setMRMLScene(vtkMRMLScene *)
virtual QStringList contributors() const
Return the contributors of the module.
qSlicerLoadableModule Superclass
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
QScopedPointer< qSlicerSegmentationsModulePrivate > d_ptr
virtual vtkMRMLAbstractLogic * createLogic()=0
void setup() override
All initialization code should be done in the setup.
A set of MRML Nodes that supports serialization and undo/redo.
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