21 #ifndef __qMRMLThreeDViewControllerWidget_h 22 #define __qMRMLThreeDViewControllerWidget_h 25 #include <ctkAxesWidget.h> 26 #include <ctkVTKObject.h> 30 class qMRMLThreeDViewControllerWidgetPrivate;
54 void setQuadBufferStereoSupportEnabled(
bool value);
64 void setViewLabel(
const QString& newViewLabel);
79 void setViewLink(
bool linked);
81 void setOrthographicModeEnabled(
bool enabled);
83 void lookFromAxis(
const ctkAxesWidget::Axis& axis);
89 void spinView(
bool enabled);
90 void rockView(
bool enabled);
91 void setAnimationMode(
int newAnimationMode);
93 void resetFocalPoint();
94 void set3DAxisVisible(
bool visible);
95 void set3DAxisLabelVisible(
bool visible);
99 void setUseDepthPeeling(
bool use);
102 void setFPSVisible(
bool visible);
105 void setLightBlueBackground();
108 void setBlackBackground();
111 void setWhiteBackground();
114 void setBackgroundColor(
const QColor& color,
115 QColor color2 = QColor());
117 void setStereoType(
int newStereoType);
118 void setOrientationMarkerType(
int type);
119 void setOrientationMarkerSize(
int size);
120 void setRulerType(
int type);
121 void setRulerColor(
int color);
124 void updateWidgetFromMRMLViewLogic();
126 void updateViewFromMRMLCamera();
virtual void updateWidgetFromMRMLView()
virtual void setMRMLViewNode(vtkMRMLAbstractViewNode *viewNode)
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
A set of MRML Nodes that supports serialization and undo/redo.
Slicer logic class for view manipulation.
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.
Q_INVOKABLE QLabel * viewLabel()
Label that displays the view's name.