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 40 of file qMRMLSliceView.h.
◆ Superclass
◆ qMRMLSliceView()
qMRMLSliceView::qMRMLSliceView |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ ~qMRMLSliceView()
virtual qMRMLSliceView::~qMRMLSliceView |
( |
| ) |
|
|
virtual |
◆ 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.
◆ getDisplayableManagers()
Q_INVOKABLE void qMRMLSliceView::getDisplayableManagers |
( |
vtkCollection * |
displayableManagers | ) |
|
◆ mrmlSliceNode()
Get the 3D View node observed by view.
◆ 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.
◆ sliceViewInteractorStyle()
Returns the interactor style of the view.
◆ d_ptr
QScopedPointer<qMRMLSliceViewPrivate> qMRMLSliceView::d_ptr |
|
protected |
The documentation for this class was generated from the following file: