Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Signals | Public Member Functions
qSlicerLayoutManager Class Reference

#include <Base/QTGUI/qSlicerLayoutManager.h>

Inheritance diagram for qSlicerLayoutManager:
Inheritance graph
Collaboration diagram for qSlicerLayoutManager:
Collaboration graph


void selectModule (const QString &moduleName)
- Signals inherited from qMRMLLayoutManager
void activeMRMLPlotViewNodeChanged (vtkMRMLPlotViewNode *newActiveMRMLPlotViewNode)
void activeMRMLTableViewNodeChanged (vtkMRMLTableViewNode *newActiveMRMLTableViewNode)
void activeMRMLThreeDViewNodeChanged (vtkMRMLViewNode *newActiveMRMLThreeDViewNode)
void activePlotRendererChanged (vtkRenderer *newRenderer)
void activeTableRendererChanged (vtkRenderer *newRenderer)
void activeThreeDRendererChanged (vtkRenderer *newRenderer)
void layoutChanged (int)
void nodeAboutToBeEdited (vtkMRMLNode *node)
 Signal emitted when editing of a node is requested from within the layout. More...

Public Member Functions

 qSlicerLayoutManager (QWidget *widget=nullptr)
 Constructors. More...
void setCurrentModule (const QString &moduleName)
Q_INVOKABLE void setScriptedDisplayableManagerDirectory (const QString &scriptedDisplayableManagerDirectory)
- Public Member Functions inherited from qMRMLLayoutManager
Q_INVOKABLE vtkMRMLPlotViewNodeactiveMRMLPlotViewNode () const
Q_INVOKABLE vtkMRMLTableViewNodeactiveMRMLTableViewNode () const
Q_INVOKABLE vtkMRMLViewNodeactiveMRMLThreeDViewNode () const
Q_INVOKABLE vtkRenderer * activePlotRenderer () const
Q_INVOKABLE vtkRenderer * activeTableRenderer () const
Q_INVOKABLE vtkRenderer * activeThreeDRenderer () const
bool isEnabled () const
int layout () const
Q_INVOKABLE vtkMRMLLayoutLogiclayoutLogic () const
Q_INVOKABLE vtkMRMLAbstractViewNodemaximizedViewNode ()
 Return the view node that is temporarily shown maximized in the view layout. More...
Q_INVOKABLE vtkMRMLColorLogicmrmlColorLogic () const
Q_INVOKABLE vtkMRMLScenemrmlScene () const
Q_INVOKABLE vtkCollection * mrmlSliceLogics () const
Q_INVOKABLE QList< qMRMLLayoutViewFactory * > mrmlViewFactories () const
Q_INVOKABLE qMRMLLayoutViewFactorymrmlViewFactory (const QString &viewClassName) const
Q_INVOKABLE vtkCollection * mrmlViewLogics () const
int plotViewCount () const
Q_INVOKABLE qMRMLPlotWidgetplotWidget (int id) const
 qMRMLLayoutManager (QObject *parent=nullptr)
 Constructors. More...
 qMRMLLayoutManager (QWidget *viewport, QObject *parent)
virtual Q_INVOKABLE void registerViewFactory (ctkLayoutViewFactory *viewFactory)
Q_INVOKABLE void setMRMLColorLogic (vtkMRMLColorLogic *colorLogic)
Q_INVOKABLE QStringList sliceViewNames () const
Q_INVOKABLE qMRMLSliceWidgetsliceWidget (const QString &name) const
 Get slice view widget identified by name. More...
int tableViewCount () const
Q_INVOKABLE qMRMLTableWidgettableWidget (int id) const
int threeDViewCount () const
 Return the number of instantiated ThreeDRenderView. More...
Q_INVOKABLE qMRMLThreeDWidgetthreeDWidget (const QString &name) const
 Get 3D widget identified by name. More...
Q_INVOKABLE qMRMLThreeDWidgetthreeDWidget (int id) const
Q_INVOKABLE QWidget * viewWidget (vtkMRMLNode *n) const
 ~qMRMLLayoutManager () override

Additional Inherited Members

- Public Types inherited from qMRMLLayoutManager
typedef ctkLayoutFactory Superclass
 Superclass typedef. More...
- Properties inherited from qMRMLLayoutManager
bool enabled
int layout
int plotViewCount
int tableViewCount
int threeDViewCount
- Public Slots inherited from qMRMLLayoutManager
void pauseRender ()
void resetSliceViews ()
void resetThreeDViews ()
void resumeRender ()
void setEnabled (bool enable)
void setLayout (int newLayout)
void setLayoutNumberOfCompareViewColumns (int num)
void setLayoutNumberOfCompareViewRows (int num)
void setMaximizedViewNode (vtkMRMLAbstractViewNode *viewNode)
void setMRMLScene (vtkMRMLScene *scene)
void setRenderPaused (bool pause)
- Protected Member Functions inherited from qMRMLLayoutManager
void onViewportChanged () override
 qMRMLLayoutManager (qMRMLLayoutManagerPrivate *obj, QWidget *viewport, QObject *parent)
- Protected Attributes inherited from qMRMLLayoutManager
QScopedPointer< qMRMLLayoutManagerPrivate > d_ptr

Detailed Description

Definition at line 32 of file qSlicerLayoutManager.h.

Constructor & Destructor Documentation

◆ qSlicerLayoutManager()

qSlicerLayoutManager::qSlicerLayoutManager ( QWidget *  widget = nullptr)


Member Function Documentation

◆ selectModule

void qSlicerLayoutManager::selectModule ( const QString &  moduleName)

◆ setCurrentModule()

void qSlicerLayoutManager::setCurrentModule ( const QString &  moduleName)

◆ setScriptedDisplayableManagerDirectory()

Q_INVOKABLE void qSlicerLayoutManager::setScriptedDisplayableManagerDirectory ( const QString &  scriptedDisplayableManagerDirectory)

Set the directory from which built-in scripted displayableManagers should be sourced from.

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