2D view for slice nodes. For performance reasons, the view block refreshs when the scene is in batch process state.
More...
#include <Libs/MRML/Widgets/qMRMLSliceView.h>
|
QScopedPointer< qMRMLSliceViewPrivate > | d_ptr |
|
2D view for slice nodes. For performance reasons, the view block refreshs when the scene is in batch process state.
- See also
- qMRMLSliceWidget, qMRMLSliceControllerWidget, qMRMLThreeDView
Definition at line 42 of file qMRMLSliceView.h.
◆ Superclass
◆ qMRMLSliceView()
qMRMLSliceView::qMRMLSliceView |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~qMRMLSliceView()
qMRMLSliceView::~qMRMLSliceView |
( |
| ) |
|
|
override |
◆ addDisplayableManager()
Q_INVOKABLE void qMRMLSliceView::addDisplayableManager |
( |
const QString & |
displayableManager | ) |
|
◆ convertDeviceToXYZ()
Q_INVOKABLE QList<double> qMRMLSliceView::convertDeviceToXYZ |
( |
const QList< int > & |
xy | ) |
const |
Convert device coordinates to XYZ coordinates. The x and y components of the return value are the positions within a LightBox pane and the z component of the return value (rounded to the nearest integer) is the pane in the LightBox
◆ convertRASToXYZ()
Q_INVOKABLE QList<double> qMRMLSliceView::convertRASToXYZ |
( |
const QList< double > & |
ras | ) |
const |
Convert RAS to XYZ coordinates. parameters ras and return value are of length 3. Z component of the return value is the pane in the LightBox.
◆ convertXYZToRAS()
Q_INVOKABLE QList<double> qMRMLSliceView::convertXYZToRAS |
( |
const QList< double > & |
xyz | ) |
const |
Convert XYZ to RAS coordinates. parameters xyz and return value are of length 3. Z component of parameter xyz is the LightBox pane and the X and Y components of parameter xyz is the position in the LightBox pane.
◆ displayableManagerByClassName()
Return a DisplayableManager given its class name.
◆ dragEnterEvent()
void qMRMLSliceView::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
override |
◆ dropEvent()
void qMRMLSliceView::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
override |
◆ getDisplayableManagers()
Q_INVOKABLE void qMRMLSliceView::getDisplayableManagers |
( |
vtkCollection * |
displayableManagers | ) |
|
◆ mrmlSliceNode()
Get the 3D View node observed by view.
◆ setDefaultViewCursor()
Q_INVOKABLE void qMRMLSliceView::setDefaultViewCursor |
( |
const QCursor & |
cursor | ) |
|
Set default cursor in the view area.
◆ setMRMLScene
void qMRMLSliceView::setMRMLScene |
( |
vtkMRMLScene * |
newScene | ) |
|
|
slot |
Set the MRML scene that should be listened for events When the scene is in batch process state, the view blocks all refresh.
- See also
- renderEnabled
◆ setMRMLSliceNode
Set the current viewNode to observe.
◆ setViewCursor()
Q_INVOKABLE void qMRMLSliceView::setViewCursor |
( |
const QCursor & |
| ) |
|
Set cursor in the view area.
◆ sliceViewInteractorStyle()
Returns the interactor style of the view.
◆ unsetViewCursor()
Q_INVOKABLE void qMRMLSliceView::unsetViewCursor |
( |
| ) |
|
Restore default cursor in the view area.
◆ d_ptr
QScopedPointer<qMRMLSliceViewPrivate> qMRMLSliceView::d_ptr |
|
protected |
The documentation for this class was generated from the following file: