3D view for view nodes. For performance reasons, the view block refreshs when the scene is in batch process state.
More...
#include <Libs/MRML/Widgets/qMRMLThreeDView.h>
|
QScopedPointer< qMRMLThreeDViewPrivate > | d_ptr |
|
3D view for view nodes. For performance reasons, the view block refreshs when the scene is in batch process state.
- See also
- qMRMLThreeDWidget, qMRMLThreeDViewControllerWidget, qMRMLSliceView
Definition at line 39 of file qMRMLThreeDView.h.
◆ Superclass
◆ qMRMLThreeDView()
qMRMLThreeDView::qMRMLThreeDView |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ ~qMRMLThreeDView()
virtual qMRMLThreeDView::~qMRMLThreeDView |
( |
| ) |
|
|
virtual |
◆ addDisplayableManager()
void qMRMLThreeDView::addDisplayableManager |
( |
const QString & |
displayableManager | ) |
|
◆ getDisplayableManagers()
Q_INVOKABLE void qMRMLThreeDView::getDisplayableManagers |
( |
vtkCollection * |
displayableManagers | ) |
|
◆ lookFromViewAxis
void qMRMLThreeDView::lookFromViewAxis |
( |
const ctkAxesWidget::Axis & |
axis | ) |
|
|
slot |
Look from a given axis, need a mrml view node to be set.
◆ mrmlViewNode()
Get the 3D View node observed by view.
◆ resetCamera()
Q_INVOKABLE void qMRMLThreeDView::resetCamera |
( |
bool |
resetRotation = true , |
|
|
bool |
resetTranslation = true , |
|
|
bool |
resetDistance = true |
|
) |
| |
◆ resetFocalPoint
virtual void qMRMLThreeDView::resetFocalPoint |
( |
| ) |
|
|
virtualslot |
Reimplemented to hide items to not take into account when computing the boundaries
◆ rotateToViewAxis() [1/2]
Q_INVOKABLE void qMRMLThreeDView::rotateToViewAxis |
( |
unsigned int |
axisId | ) |
|
Returns the interactor style of the view.
Methods to rotate/reset the camera, Can defined a view axis by its index (from 0 to 5) or its label (defined in vtkMRMLViewNode::AxisLabels) to rotate to the axis ranged in that order: -X, +X, -Y, +Y, -Z, +Z
◆ rotateToViewAxis() [2/2]
Q_INVOKABLE void qMRMLThreeDView::rotateToViewAxis |
( |
const std::string & |
axisLabel | ) |
|
◆ setMRMLScene
void qMRMLThreeDView::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
◆ setMRMLViewNode
Set the current viewNode to observe.
◆ setViewCursor()
Q_INVOKABLE void qMRMLThreeDView::setViewCursor |
( |
const QCursor & |
| ) |
|
Set cursor in the view area.
◆ unsetViewCursor()
Q_INVOKABLE void qMRMLThreeDView::unsetViewCursor |
( |
| ) |
|
Restore default cursor in the view area.
◆ d_ptr
QScopedPointer<qMRMLThreeDViewPrivate> qMRMLThreeDView::d_ptr |
|
protected |
The documentation for this class was generated from the following file: