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

#include <Modules/Loadable/Segmentations/qSlicerSegmentationsModule.h>

Inheritance diagram for qSlicerSegmentationsModule:
Inheritance graph
[legend]
Collaboration diagram for qSlicerSegmentationsModule:
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 Slots

virtual void setMRMLScene (vtkMRMLScene *scene)
 Set up MRML scene events. More...
 
- Public Slots inherited from qSlicerAbstractCoreModule
virtual void setMRMLScene (vtkMRMLScene *)
 

Public Member Functions

virtual QString acknowledgementText () const
 Return acknowledgments. More...
 
virtual QStringList associatedNodeTypes () const
 Define associated node types. More...
 
virtual QStringList categories () const
 Return the categories for the module. More...
 
virtual QStringList contributors () const
 Return the authors of the module. More...
 
virtual QStringList dependencies () const
 Return module dependencies. More...
 
virtual QString helpText () const
 Help to use the module. More...
 
virtual QIcon icon () const
 Return a custom icon for the module. More...
 
 qSlicerGetTitleMacro (QTMODULE_TITLE)
 
 qSlicerSegmentationsModule (QObject *parent=0)
 
virtual ~qSlicerSegmentationsModule ()
 
- Public Member Functions inherited from qSlicerLoadableModule
 qSlicerLoadableModule (QObject *parent=0)
 
virtual ~qSlicerLoadableModule ()
 
- 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=0)
 
virtual ~qSlicerAbstractModule ()
 
- Public Member Functions inherited from qSlicerAbstractCoreModule
 qSlicerAbstractCoreModule (QObject *parent=0)
 
virtual ~qSlicerAbstractCoreModule ()
 
virtual void printAdditionalInfo ()
 
QString slicerWikiUrl () const
 Convenient method to return slicer wiki URL. More...
 
void initialize (vtkSlicerApplicationLogic *appLogic)
 
bool initialized ()
 
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...
 
virtual bool isHidden () const
 
bool isWidgetRepresentationCreationEnabled () const
 
void setWidgetRepresentationCreationEnabled (bool value)
 
qSlicerAbstractModuleRepresentationwidgetRepresentation ()
 
qSlicerAbstractModuleRepresentationcreateNewWidgetRepresentation ()
 
void setAppLogic (vtkSlicerApplicationLogic *appLogic)
 
vtkSlicerApplicationLogicappLogic () const
 
Q_INVOKABLE vtkMRMLAbstractLogiclogic ()
 
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
QString path () const
 
void setPath (const QString &newPath)
 
bool isInstalled () const
 
void setInstalled (bool value)
 
bool isBuiltIn () const
 
void setBuiltIn (bool value)
 

Protected Slots

void onNodeAdded (vtkObject *scene, vtkObject *nodeObject)
 

Protected Member Functions

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

Protected Attributes

QScopedPointer< qSlicerSegmentationsModulePrivate > 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
 
QStringList dependencies
 
QString path
 
bool isInstalled
 
bool isBuiltIn
 
QStringList associatedNodeTypes
 
- 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 35 of file qSlicerSegmentationsModule.h.

Member Typedef Documentation

◆ Superclass

Definition at line 46 of file qSlicerSegmentationsModule.h.

Constructor & Destructor Documentation

◆ qSlicerSegmentationsModule()

qSlicerSegmentationsModule::qSlicerSegmentationsModule ( QObject *  parent = 0)
explicit

◆ ~qSlicerSegmentationsModule()

virtual qSlicerSegmentationsModule::~qSlicerSegmentationsModule ( )
virtual

Member Function Documentation

◆ acknowledgementText()

virtual QString qSlicerSegmentationsModule::acknowledgementText ( ) const
virtual

Return acknowledgments.

Reimplemented from qSlicerLoadableModule.

◆ associatedNodeTypes()

virtual QStringList qSlicerSegmentationsModule::associatedNodeTypes ( ) const
virtual

Define associated node types.

Reimplemented from qSlicerAbstractCoreModule.

◆ categories()

virtual QStringList qSlicerSegmentationsModule::categories ( ) const
virtual

Return the categories for the module.

Reimplemented from qSlicerAbstractCoreModule.

◆ contributors()

virtual QStringList qSlicerSegmentationsModule::contributors ( ) const
virtual

Return the authors of the module.

Reimplemented from qSlicerAbstractCoreModule.

◆ createLogic()

virtual vtkMRMLAbstractLogic* qSlicerSegmentationsModule::createLogic ( )
protectedvirtual

Create and return the logic associated to this module.

Implements qSlicerAbstractCoreModule.

◆ createWidgetRepresentation()

virtual qSlicerAbstractModuleRepresentation* qSlicerSegmentationsModule::createWidgetRepresentation ( )
protectedvirtual

Create and return the widget representation associated to this module.

Implements qSlicerAbstractCoreModule.

◆ dependencies()

virtual QStringList qSlicerSegmentationsModule::dependencies ( ) const
virtual

Return module dependencies.

Reimplemented from qSlicerAbstractCoreModule.

◆ helpText()

virtual QString qSlicerSegmentationsModule::helpText ( ) const
virtual

Help to use the module.

Reimplemented from qSlicerLoadableModule.

◆ icon()

virtual QIcon qSlicerSegmentationsModule::icon ( ) const
virtual

Return a custom icon for the module.

Reimplemented from qSlicerAbstractModule.

◆ onNodeAdded

void qSlicerSegmentationsModule::onNodeAdded ( vtkObject *  scene,
vtkObject *  nodeObject 
)
protectedslot

Called when a node is added to the scene. Makes connections to enable subject hierarchy node creation for each segment to allow per-segment actions in SH.

◆ qSlicerGetTitleMacro()

qSlicerSegmentationsModule::qSlicerGetTitleMacro ( QTMODULE_TITLE  )

◆ setMRMLScene

virtual void qSlicerSegmentationsModule::setMRMLScene ( vtkMRMLScene scene)
virtualslot

Set up MRML scene events.

◆ setup()

virtual void qSlicerSegmentationsModule::setup ( )
protectedvirtual

Initialize the module. Register the volumes reader/writer.

Reimplemented from qSlicerLoadableModule.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerSegmentationsModulePrivate> qSlicerSegmentationsModule::d_ptr
protected

Definition at line 93 of file qSlicerSegmentationsModule.h.


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