Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qMRMLThreeDWidget Class Reference

#include <Libs/MRML/Widgets/qMRMLThreeDWidget.h>

Inheritance diagram for qMRMLThreeDWidget:
Collaboration diagram for qMRMLThreeDWidget:

Public Types

typedef qMRMLAbstractViewWidget Superclass
 Superclass typedef.
 
- Public Types inherited from qMRMLAbstractViewWidget
typedef qMRMLWidget Superclass
 Superclass typedef.
 
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 

Public Slots

void setMRMLAbstractViewNode (vtkMRMLAbstractViewNode *newViewNode) override
 
void setMRMLViewNode (vtkMRMLViewNode *newViewNode)
 Set the current viewNode to observe.
 
- Public Slots inherited from qMRMLAbstractViewWidget
virtual void pauseRender ()
 
virtual void resumeRender ()
 
virtual void setMRMLAbstractViewNode (vtkMRMLAbstractViewNode *newViewNode)=0
 Set the current viewNode to observe.
 
virtual void setRenderPaused (bool pause)
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget.
 

Public Member Functions

Q_INVOKABLE void addDisplayableManager (const QString &displayableManager)
 
Q_INVOKABLE qMRMLViewControllerBarcontrollerWidget () const override
 Get slice controller.
 
Q_INVOKABLE void getDisplayableManagers (vtkCollection *displayableManagers)
 
Q_INVOKABLE vtkMRMLAbstractLogiclogic () const override
 
Q_INVOKABLE vtkMRMLAbstractViewNodemrmlAbstractViewNode () const override
 Get the View node observed by view.
 
Q_INVOKABLE vtkMRMLViewNodemrmlViewNode () const
 Get the 3D View node observed by view.
 
 qMRMLThreeDWidget (QWidget *parent=nullptr)
 Constructors.
 
Q_INVOKABLE void setQuadBufferStereoSupportEnabled (bool value)
 
Q_INVOKABLE qMRMLThreeDViewControllerWidgetthreeDController () const
 Get slice controller.
 
Q_INVOKABLE qMRMLThreeDViewthreeDView () const
 
Q_INVOKABLE vtkMRMLViewLogicviewLogic () const
 
Q_INVOKABLE QWidget * viewWidget () const override
 
 ~qMRMLThreeDWidget () override
 
- Public Member Functions inherited from qMRMLAbstractViewWidget
 qMRMLAbstractViewWidget (QWidget *parent=nullptr)
 Constructors.
 
virtual Q_INVOKABLE void setViewColor (const QColor &newViewColor)
 
virtual Q_INVOKABLE void setViewLabel (const QString &newViewLabel)
 
virtual Q_INVOKABLE QColor viewColor () const
 
virtual Q_INVOKABLE QString viewLabel () const
 
 ~qMRMLAbstractViewWidget () override=default
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene.
 
 qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qMRMLWidget () override
 

Protected Attributes

QScopedPointer< qMRMLThreeDWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qMRMLAbstractViewWidget
QColor viewColor
 
QString viewLabel
 
- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE QPixmap pixmapFromIcon (const QIcon &icon)
 
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created.
 
static Q_INVOKABLE void preInitializeApplication ()
 

Detailed Description

Definition at line 40 of file qMRMLThreeDWidget.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ qMRMLThreeDWidget()

qMRMLThreeDWidget::qMRMLThreeDWidget ( QWidget * parent = nullptr)
explicit

Constructors.

◆ ~qMRMLThreeDWidget()

qMRMLThreeDWidget::~qMRMLThreeDWidget ( )
override

Member Function Documentation

◆ addDisplayableManager()

Q_INVOKABLE void qMRMLThreeDWidget::addDisplayableManager ( const QString & displayableManager)

◆ controllerWidget()

Q_INVOKABLE qMRMLViewControllerBar * qMRMLThreeDWidget::controllerWidget ( ) const
overridevirtual

Get slice controller.

Implements qMRMLAbstractViewWidget.

◆ getDisplayableManagers()

Q_INVOKABLE void qMRMLThreeDWidget::getDisplayableManagers ( vtkCollection * displayableManagers)

◆ logic()

Q_INVOKABLE vtkMRMLAbstractLogic * qMRMLThreeDWidget::logic ( ) const
overridevirtual
See also
qMRMLSliceControllerWidget::viewLogic()

Reimplemented from qMRMLAbstractViewWidget.

◆ mrmlAbstractViewNode()

Q_INVOKABLE vtkMRMLAbstractViewNode * qMRMLThreeDWidget::mrmlAbstractViewNode ( ) const
overridevirtual

Get the View node observed by view.

Implements qMRMLAbstractViewWidget.

◆ mrmlViewNode()

Q_INVOKABLE vtkMRMLViewNode * qMRMLThreeDWidget::mrmlViewNode ( ) const

Get the 3D View node observed by view.

◆ setMRMLAbstractViewNode

void qMRMLThreeDWidget::setMRMLAbstractViewNode ( vtkMRMLAbstractViewNode * newViewNode)
overrideslot

◆ setMRMLViewNode

void qMRMLThreeDWidget::setMRMLViewNode ( vtkMRMLViewNode * newViewNode)
slot

Set the current viewNode to observe.

◆ setQuadBufferStereoSupportEnabled()

Q_INVOKABLE void qMRMLThreeDWidget::setQuadBufferStereoSupportEnabled ( bool value)

◆ threeDController()

Q_INVOKABLE qMRMLThreeDViewControllerWidget * qMRMLThreeDWidget::threeDController ( ) const

Get slice controller.

◆ threeDView()

Q_INVOKABLE qMRMLThreeDView * qMRMLThreeDWidget::threeDView ( ) const

Get a reference to the underlying ThreeD View Be careful if you change the threeDView, you might unsynchronize the view from the nodes/logics.

◆ viewLogic()

Q_INVOKABLE vtkMRMLViewLogic * qMRMLThreeDWidget::viewLogic ( ) const
See also
qMRMLSliceControllerWidget::viewLogic()

◆ viewWidget()

Q_INVOKABLE QWidget * qMRMLThreeDWidget::viewWidget ( ) const
overridevirtual

Get a reference to the underlying view widget. Be careful if you change the viewWidget, you might unsynchronize the view from the nodes/logics.

Implements qMRMLAbstractViewWidget.

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLThreeDWidgetPrivate> qMRMLThreeDWidget::d_ptr
protected

Definition at line 83 of file qMRMLThreeDWidget.h.


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