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

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

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

Public Types

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

Properties

QColor viewColor
 
QString viewLabel
 

Public Slots

void setMRMLScene (vtkMRMLScene *newScene) override
 
void setMRMLViewNode (vtkMRMLViewNode *newViewNode)
 Set the current viewNode to observe. More...
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Public Member Functions

Q_INVOKABLE void addDisplayableManager (const QString &displayableManager)
 
Q_INVOKABLE void getDisplayableManagers (vtkCollection *displayableManagers)
 
Q_INVOKABLE vtkMRMLViewNodemrmlViewNode () const
 Get the 3D View node observed by view. More...
 
 qMRMLThreeDWidget (QWidget *parent=nullptr)
 Constructors. More...
 
Q_INVOKABLE void setQuadBufferStereoSupportEnabled (bool value)
 
void setViewColor (const QColor &newViewColor)
 
void setViewLabel (const QString &newViewLabel)
 
Q_INVOKABLE qMRMLThreeDViewControllerWidgetthreeDController () const
 Get slice controller. More...
 
Q_INVOKABLE qMRMLThreeDViewthreeDView () const
 
QColor viewColor () const
 
QString viewLabel () const
 
Q_INVOKABLE vtkMRMLViewLogicviewLogic () const
 
 ~qMRMLThreeDWidget () override
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 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

- 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. More...
 
static Q_INVOKABLE void preInitializeApplication ()
 

Detailed Description

Definition at line 44 of file qMRMLThreeDWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 52 of file qMRMLThreeDWidget.h.

Property Documentation

◆ viewColor

QColor qMRMLThreeDWidget::viewColor
readwrite

Definition at line 48 of file qMRMLThreeDWidget.h.

◆ viewLabel

QString qMRMLThreeDWidget::viewLabel
readwrite

Definition at line 47 of file qMRMLThreeDWidget.h.

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)

◆ getDisplayableManagers()

Q_INVOKABLE void qMRMLThreeDWidget::getDisplayableManagers ( vtkCollection *  displayableManagers)

◆ mrmlViewNode()

Q_INVOKABLE vtkMRMLViewNode* qMRMLThreeDWidget::mrmlViewNode ( ) const

Get the 3D View node observed by view.

◆ setMRMLScene

void qMRMLThreeDWidget::setMRMLScene ( vtkMRMLScene newScene)
overrideslot

◆ setMRMLViewNode

void qMRMLThreeDWidget::setMRMLViewNode ( vtkMRMLViewNode newViewNode)
slot

Set the current viewNode to observe.

◆ setQuadBufferStereoSupportEnabled()

Q_INVOKABLE void qMRMLThreeDWidget::setQuadBufferStereoSupportEnabled ( bool  value)

◆ setViewColor()

void qMRMLThreeDWidget::setViewColor ( const QColor &  newViewColor)
See also
qMRMLThreeDViewControllerWidget::viewColor()
viewColor()

◆ setViewLabel()

void qMRMLThreeDWidget::setViewLabel ( const QString &  newViewLabel)

◆ 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 Becareful if you change the threeDView, you might unsynchronize the view from the nodes/logics.

◆ viewColor()

QColor qMRMLThreeDWidget::viewColor ( ) const
See also
qMRMLThreeDViewControllerWidget::viewColor()
setViewColor()

◆ viewLabel()

QString qMRMLThreeDWidget::viewLabel ( ) const

◆ viewLogic()

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

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLThreeDWidgetPrivate> qMRMLThreeDWidget::d_ptr
protected

Definition at line 102 of file qMRMLThreeDWidget.h.


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