3D view for view nodes. For performance reasons, the view block refreshes 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 refreshes when the scene is in batch process state.
- See also
- qMRMLThreeDWidget, qMRMLThreeDViewControllerWidget, qMRMLSliceView
Definition at line 42 of file qMRMLThreeDView.h.
◆ Superclass
◆ qMRMLThreeDView()
qMRMLThreeDView::qMRMLThreeDView |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~qMRMLThreeDView()
qMRMLThreeDView::~qMRMLThreeDView |
( |
| ) |
|
|
override |
◆ addDisplayableManager()
void qMRMLThreeDView::addDisplayableManager |
( |
const QString & |
displayableManager | ) |
|
◆ cameraNode()
Returns camera node of the 3D view.
◆ displayableManagerByClassName()
Return a DisplayableManager given its class name.
◆ dragEnterEvent()
void qMRMLThreeDView::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
override |
◆ dropEvent()
void qMRMLThreeDView::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
override |
◆ getDisplayableManagers()
Q_INVOKABLE void qMRMLThreeDView::getDisplayableManagers |
( |
vtkCollection * |
displayableManagers | ) |
|
◆ lookFromViewAxis
void qMRMLThreeDView::lookFromViewAxis |
( |
const ctkAxesWidget::Axis & |
axis | ) |
|
|
inlineslot |
◆ 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 |
( |
| ) |
|
|
virtual |
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 | ) |
|
◆ setDefaultViewCursor()
Q_INVOKABLE void qMRMLThreeDView::setDefaultViewCursor |
( |
const QCursor & |
cursor | ) |
|
Set default cursor in the view area.
◆ 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: