Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/ViewControllers/qSlicerViewControllersModule.h>
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 | |
virtual QString | acknowledgementText () const |
virtual QStringList | categories () const |
virtual QStringList | contributors () const |
Return the contributors of the module. More... | |
virtual QIcon | icon () const |
qSlicerGetTitleMacro (QTMODULE_TITLE) | |
qSlicerViewControllersModule (QObject *parent=0) | |
void | readDefaultPlotViewSettings (vtkMRMLPlotViewNode *defaultViewNode) |
virtual void | setMRMLScene (vtkMRMLScene *scene) |
void | writeDefaultPlotViewSettings (vtkMRMLPlotViewNode *defaultViewNode) |
virtual | ~qSlicerViewControllersModule () |
Public Member Functions inherited from qSlicerLoadableModule | |
virtual QString | helpText () const |
Return help/acknowledgement text. More... | |
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) |
qSlicerAbstractModuleRepresentation * | widgetRepresentation () |
qSlicerAbstractModuleRepresentation * | createNewWidgetRepresentation () |
void | setAppLogic (vtkSlicerApplicationLogic *appLogic) |
vtkSlicerApplicationLogic * | appLogic () const |
Q_INVOKABLE vtkMRMLAbstractLogic * | logic () |
Q_INVOKABLE vtkMRMLScene * | mrmlScene () 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... | |
Static Public Member Functions | |
static void | readDefaultSliceViewSettings (vtkMRMLSliceNode *defaultViewNode) |
static void | readDefaultThreeDViewSettings (vtkMRMLViewNode *defaultViewNode) |
static void | writeDefaultSliceViewSettings (vtkMRMLSliceNode *defaultViewNode) |
static void | writeDefaultThreeDViewSettings (vtkMRMLViewNode *defaultViewNode) |
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... | |
Protected Member Functions | |
virtual vtkMRMLAbstractLogic * | createLogic () |
Create and return the logic associated to this module. More... | |
virtual qSlicerAbstractModuleRepresentation * | createWidgetRepresentation () |
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 |
Static Protected Member Functions | |
static void | readCommonViewSettings (vtkMRMLAbstractViewNode *defaultViewNode, QSettings &settings) |
Helper functions to read/write common view settings. More... | |
static void | writeCommonViewSettings (vtkMRMLAbstractViewNode *defaultViewNode, QSettings &settings) |
Protected Attributes | |
QScopedPointer< qSlicerViewControllersModulePrivate > | 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 |
Public Slots inherited from qSlicerAbstractCoreModule |
Definition at line 37 of file qSlicerViewControllersModule.h.
Definition at line 48 of file qSlicerViewControllersModule.h.
qSlicerViewControllersModule::qSlicerViewControllersModule | ( | QObject * | parent = 0 | ) |
|
virtual |
|
virtual |
Return acknowledgement text for the module Must be reimplemented in the derived classes
Reimplemented from qSlicerLoadableModule.
|
virtual |
Categories the module belongs to. Categories support subcategories. Use the '.' separator to specify a subcategory (no depth limit), e.g.: "Filtering.Arithmetic". The function must be reimplemented in derived classes. Note: If a category doesn't exist, it will be created.
Reimplemented from qSlicerAbstractCoreModule.
|
virtual |
Return the contributors of the module.
Reimplemented from qSlicerAbstractCoreModule.
|
protectedvirtual |
Create and return the logic associated to this module.
Implements qSlicerAbstractCoreModule.
|
protectedvirtual |
Create and return the widget representation associated to this module.
Implements qSlicerAbstractCoreModule.
|
virtual |
Icon of the module. Anytime a graphical representation of the module is needed, the icon is used. It's the icon shown in the module selector as well as in the frequently used module toolbar (if any).
Reimplemented from qSlicerAbstractModule.
qSlicerViewControllersModule::qSlicerGetTitleMacro | ( | QTMODULE_TITLE | ) |
|
staticprotected |
Helper functions to read/write common view settings.
void qSlicerViewControllersModule::readDefaultPlotViewSettings | ( | vtkMRMLPlotViewNode * | defaultViewNode | ) |
Read default plot view settings from application settings (.ini file) into defaultViewNode.
|
static |
Read default slice view settings from application settings (.ini file) into defaultViewNode.
|
static |
Write default slice view settings to application settings (.ini file) from defaultViewNode.
|
virtual |
Set MRML scene for the module. Updates the default view settings based on the application settings.
Reimplemented from qSlicerAbstractCoreModule.
|
protectedvirtual |
Initialize the module. Register the volumes reader/writer.
Reimplemented from qSlicerLoadableModule.
|
staticprotected |
void qSlicerViewControllersModule::writeDefaultPlotViewSettings | ( | vtkMRMLPlotViewNode * | defaultViewNode | ) |
Write default plot view settings to application settings (.ini file) from defaultViewNode.
|
static |
Read default 3D view settings from application settings (.ini file) into defaultViewNode.
|
static |
Write default 3D view settings to application settings (.ini file) from defaultViewNode.
|
protected |
Definition at line 103 of file qSlicerViewControllersModule.h.