21 #ifndef __qMRMLThreeDViewControllerWidget_h 22 #define __qMRMLThreeDViewControllerWidget_h 25 #include <ctkAxesWidget.h> 26 #include <ctkVTKObject.h> 30 class qMRMLThreeDViewControllerWidgetPrivate;
57 void setViewLabel(
const QString& newViewLabel);
63 void setViewColor(
const QColor& newViewColor);
66 QColor viewColor()
const;
68 void setQuadBufferStereoSupportEnabled(
bool value);
80 void setViewLogics(vtkCollection* logics);
90 void setViewLink(
bool linked);
92 void setOrthographicModeEnabled(
bool enabled);
94 void lookFromAxis(
const ctkAxesWidget::Axis& axis);
100 void spinView(
bool enabled);
101 void rockView(
bool enabled);
102 void setAnimationMode(
int newAnimationMode);
104 void resetFocalPoint();
105 void set3DAxisVisible(
bool visible);
106 void set3DAxisLabelVisible(
bool visible);
110 void setUseDepthPeeling(
bool use);
113 void setFPSVisible(
bool visible);
116 void setLightBlueBackground();
119 void setBlackBackground();
122 void setWhiteBackground();
125 void setBackgroundColor(
const QColor& color,
126 QColor color2 = QColor());
128 void setStereoType(
int newStereoType);
129 void setOrientationMarkerType(
int type);
130 void setOrientationMarkerSize(
int size);
131 void setRulerType(
int type);
134 void updateWidgetFromMRMLView();
135 void updateViewFromMRMLCamera();
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.