21 #ifndef __qMRMLThreeDView_h 22 #define __qMRMLThreeDView_h 26 #include <ctkVTKRenderView.h> 28 #include "qMRMLWidgetsExport.h" 31 class qMRMLThreeDViewPrivate;
62 void addDisplayableManager(
const QString& displayableManager);
63 Q_INVOKABLE
void getDisplayableManagers(vtkCollection* displayableManagers);
79 Q_INVOKABLE
void rotateToViewAxis(
unsigned int axisId);
80 Q_INVOKABLE
void rotateToViewAxis(
const std::string& axisLabel);
81 Q_INVOKABLE
void resetCamera(
bool resetRotation =
true,
82 bool resetTranslation =
true,
83 bool resetDistance =
true);
89 Q_INVOKABLE
void setViewCursor(
const QCursor &);
92 Q_INVOKABLE
void unsetViewCursor();
95 Q_INVOKABLE
void setDefaultViewCursor(
const QCursor &cursor);
97 void dragEnterEvent(QDragEnterEvent* event)
override;
98 void dropEvent(QDropEvent* event)
override;
111 void lookFromViewAxis(
const ctkAxesWidget::Axis& axis);
115 virtual void resetFocalPoint();
118 QScopedPointer<qMRMLThreeDViewPrivate>
d_ptr;
Superclass for displayable manager classes.
QScopedPointer< qMRMLThreeDViewPrivate > d_ptr
A set of MRML Nodes that supports serialization and undo/redo.
3D view for view nodes. For performance reasons, the view block refreshs when the scene is in batch p...
MRML node to represent a 3D view.
MRML node to represent camera node.
ctkVTKRenderView Superclass
Superclass typedef.