Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Libs/MRML/Widgets/qMRMLThreeDWidget.h>
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 vtkMRMLViewNode * | mrmlViewNode () 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 qMRMLThreeDViewControllerWidget * | threeDController () const |
Get slice controller. More... | |
Q_INVOKABLE qMRMLThreeDView * | threeDView () const |
QColor | viewColor () const |
QString | viewLabel () const |
Q_INVOKABLE vtkMRMLViewLogic * | viewLogic () const |
~qMRMLThreeDWidget () override | |
Public Member Functions inherited from qMRMLWidget | |
Q_INVOKABLE vtkMRMLScene * | mrmlScene () 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 () |
Definition at line 44 of file qMRMLThreeDWidget.h.
Superclass typedef.
Definition at line 52 of file qMRMLThreeDWidget.h.
|
readwrite |
Definition at line 48 of file qMRMLThreeDWidget.h.
|
readwrite |
Definition at line 47 of file qMRMLThreeDWidget.h.
|
explicit |
Constructors.
|
override |
Q_INVOKABLE void qMRMLThreeDWidget::addDisplayableManager | ( | const QString & | displayableManager | ) |
Q_INVOKABLE void qMRMLThreeDWidget::getDisplayableManagers | ( | vtkCollection * | displayableManagers | ) |
Q_INVOKABLE vtkMRMLViewNode* qMRMLThreeDWidget::mrmlViewNode | ( | ) | const |
Get the 3D View node observed by view.
|
overrideslot |
|
slot |
Set the current viewNode to observe.
Q_INVOKABLE void qMRMLThreeDWidget::setQuadBufferStereoSupportEnabled | ( | bool | value | ) |
void qMRMLThreeDWidget::setViewColor | ( | const QColor & | newViewColor | ) |
void qMRMLThreeDWidget::setViewLabel | ( | const QString & | newViewLabel | ) |
Q_INVOKABLE qMRMLThreeDViewControllerWidget* qMRMLThreeDWidget::threeDController | ( | ) | const |
Get slice controller.
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.
QColor qMRMLThreeDWidget::viewColor | ( | ) | const |
QString qMRMLThreeDWidget::viewLabel | ( | ) | const |
Q_INVOKABLE vtkMRMLViewLogic* qMRMLThreeDWidget::viewLogic | ( | ) | const |
|
protected |
Definition at line 102 of file qMRMLThreeDWidget.h.