Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
qSlicerSubjectHierarchyModule Class Reference

#include <Modules/Loadable/SubjectHierarchy/qSlicerSubjectHierarchyModule.h>

Inheritance diagram for qSlicerSubjectHierarchyModule:
Inheritance graph
[legend]
Collaboration diagram for qSlicerSubjectHierarchyModule:
Collaboration graph
[legend]

Public Types

typedef qSlicerLoadableModule Superclass
 
- Public Types inherited from qSlicerLoadableModule
typedef qSlicerLoadableModule Self
 
typedef qSlicerAbstractModule Superclass
 
- Public Types inherited from qSlicerAbstractModule
typedef qSlicerAbstractCoreModule Superclass
 
- Public Types inherited from qSlicerAbstractCoreModule
typedef QObject Superclass
 

Public Member Functions

QString acknowledgementText () const override
 Return acknowledgments. More...
 
QStringList categories () const override
 Return the categories for the module. More...
 
QStringList contributors () const override
 Return the authors of the module. More...
 
QString helpText () const override
 Help to use the module. More...
 
QIcon icon () const override
 Return a custom icon for the module. More...
 
bool isHidden () const override
 Make this module hidden. More...
 
 qSlicerGetTitleMacro (QTMODULE_TITLE)
 
 qSlicerSubjectHierarchyModule (QObject *parent=nullptr)
 
 ~qSlicerSubjectHierarchyModule () override
 
- Public Member Functions inherited from qSlicerLoadableModule
 qSlicerLoadableModule (QObject *parent=nullptr)
 
 ~qSlicerLoadableModule () override
 
- Public Member Functions inherited from qSlicerAbstractModule
Q_INVOKABLE QAction * action ()
 
virtual QImage logo () const
 The logo of the module, the credits given by the grants or instution. More...
 
 qSlicerAbstractModule (QObject *parent=nullptr)
 
 ~qSlicerAbstractModule () override
 
- Public Member Functions inherited from qSlicerAbstractCoreModule
 qSlicerAbstractCoreModule (QObject *parent=nullptr)
 
 ~qSlicerAbstractCoreModule () override
 
virtual void printAdditionalInfo ()
 
QString slicerWikiUrl () const
 Convenience method to return slicer wiki URL. More...
 
QString defaultDocumentationLink () const
 
void initialize (vtkSlicerApplicationLogic *appLogic)
 
virtual QString name () const
 
virtual void setName (const QString &name)
 
virtual QString title () const =0
 
virtual int index () const
 Return the category index of the module. More...
 
bool isWidgetRepresentationCreationEnabled () const
 
void setWidgetRepresentationCreationEnabled (bool value)
 
qSlicerAbstractModuleRepresentationwidgetRepresentation ()
 
qSlicerAbstractModuleRepresentationcreateNewWidgetRepresentation ()
 
void setAppLogic (vtkSlicerApplicationLogic *appLogic)
 
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 Convenience method for getting another module's logic from appLogic. More...
 
Q_INVOKABLE vtkMRMLAbstractLogiclogic ()
 
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
virtual QStringList dependencies () const
 
QString path () const
 
void setPath (const QString &newPath)
 
bool isInstalled () const
 
void setInstalled (bool value)
 
bool isBuiltIn () const
 
void setBuiltIn (bool value)
 
virtual QStringList associatedNodeTypes () const
 Return node types associated with this module (e.g., node types this module can edit) More...
 

Protected Slots

void onLogicModified ()
 

Protected Member Functions

vtkMRMLAbstractLogiccreateLogic () override
 Create and return the logic associated to this module. More...
 
qSlicerAbstractModuleRepresentationcreateWidgetRepresentation () override
 Create and return the widget representation associated to this module. More...
 
void setup () override
 Initialize the module. Register the volumes reader/writer. More...
 
- Protected Member Functions inherited from qSlicerAbstractCoreModule

Protected Attributes

QScopedPointer< qSlicerSubjectHierarchyModulePrivate > d_ptr
 
- Protected Attributes inherited from qSlicerLoadableModule
QScopedPointer< qSlicerLoadableModulePrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModule
QScopedPointer< qSlicerAbstractModulePrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractCoreModule
QScopedPointer< qSlicerAbstractCoreModulePrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerAbstractModule
QIcon icon
 
QImage logo
 
- Properties inherited from qSlicerAbstractCoreModule
QString name
 
QString title
 
QStringList categories
 
int index
 
bool hidden
 
bool widgetRepresentationCreationEnabled
 
QString helpText
 
QString acknowledgementText
 
QStringList contributors
 
QString slicerWikiUrl
 
QString defaultDocumentationLink
 
QStringList dependencies
 
QString path
 
bool isInstalled
 
bool isBuiltIn
 
QStringList associatedNodeTypes
 
- Public Slots inherited from qSlicerAbstractCoreModule
virtual void setMRMLScene (vtkMRMLScene *)
 
- Static Public Member Functions inherited from qSlicerLoadableModule
static bool addModuleNameToSlicerModuleNames (qSlicerCorePythonManager *pythonManager, const QString &moduleName)
 
static bool addModuleToSlicerModules (qSlicerCorePythonManager *pythonManager, qSlicerAbstractModule *module, const QString &moduleName)
 
static bool importModulePythonExtensions (qSlicerCorePythonManager *pythonManager, const QString &intDir, const QString &modulePath, bool isEmbedded=false)
 Import python extensions associated with modulePath. More...
 

Detailed Description

Definition at line 38 of file qSlicerSubjectHierarchyModule.h.

Member Typedef Documentation

◆ Superclass

Definition at line 47 of file qSlicerSubjectHierarchyModule.h.

Constructor & Destructor Documentation

◆ qSlicerSubjectHierarchyModule()

qSlicerSubjectHierarchyModule::qSlicerSubjectHierarchyModule ( QObject *  parent = nullptr)
explicit

◆ ~qSlicerSubjectHierarchyModule()

qSlicerSubjectHierarchyModule::~qSlicerSubjectHierarchyModule ( )
override

Member Function Documentation

◆ acknowledgementText()

QString qSlicerSubjectHierarchyModule::acknowledgementText ( ) const
overridevirtual

Return acknowledgments.

Reimplemented from qSlicerLoadableModule.

◆ categories()

QStringList qSlicerSubjectHierarchyModule::categories ( ) const
overridevirtual

Return the categories for the module.

Reimplemented from qSlicerAbstractCoreModule.

◆ contributors()

QStringList qSlicerSubjectHierarchyModule::contributors ( ) const
overridevirtual

Return the authors of the module.

Reimplemented from qSlicerAbstractCoreModule.

◆ createLogic()

vtkMRMLAbstractLogic* qSlicerSubjectHierarchyModule::createLogic ( )
overrideprotectedvirtual

Create and return the logic associated to this module.

Implements qSlicerAbstractCoreModule.

◆ createWidgetRepresentation()

qSlicerAbstractModuleRepresentation* qSlicerSubjectHierarchyModule::createWidgetRepresentation ( )
overrideprotectedvirtual

Create and return the widget representation associated to this module.

Implements qSlicerAbstractCoreModule.

◆ helpText()

QString qSlicerSubjectHierarchyModule::helpText ( ) const
overridevirtual

Help to use the module.

Reimplemented from qSlicerLoadableModule.

◆ icon()

QIcon qSlicerSubjectHierarchyModule::icon ( ) const
overridevirtual

Return a custom icon for the module.

Reimplemented from qSlicerAbstractModule.

◆ isHidden()

bool qSlicerSubjectHierarchyModule::isHidden ( ) const
inlineoverridevirtual

Make this module hidden.

Reimplemented from qSlicerAbstractCoreModule.

Definition at line 69 of file qSlicerSubjectHierarchyModule.h.

◆ onLogicModified

void qSlicerSubjectHierarchyModule::onLogicModified ( )
protectedslot

Handles logic modified event, which happens on major changes in the scene (new scene, batch processing, import etc.)

◆ qSlicerGetTitleMacro()

qSlicerSubjectHierarchyModule::qSlicerGetTitleMacro ( QTMODULE_TITLE  )

◆ setup()

void qSlicerSubjectHierarchyModule::setup ( )
overrideprotectedvirtual

Initialize the module. Register the volumes reader/writer.

Reimplemented from qSlicerLoadableModule.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerSubjectHierarchyModulePrivate> qSlicerSubjectHierarchyModule::d_ptr
protected

Definition at line 87 of file qSlicerSubjectHierarchyModule.h.


The documentation for this class was generated from the following file: