|
@@ -42,6 +42,8 @@ class CTK_VISUALIZATION_VTK_WIDGETS_EXPORT ctkVTKRenderView : public QWidget
|
|
|
Q_PROPERTY(QString cornerAnnotationText READ cornerAnnotationText WRITE setCornerAnnotationText)
|
|
|
Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE setBackgroundColor)
|
|
|
Q_PROPERTY(bool renderEnabled READ renderEnabled WRITE setRenderEnabled)
|
|
|
+ Q_PROPERTY(bool orientationWidgetVisible READ orientationWidgetVisible
|
|
|
+ WRITE setOrientationWidgetVisible)
|
|
|
public:
|
|
|
/// Constructors
|
|
|
typedef QWidget Superclass;
|
|
@@ -65,6 +67,9 @@ public slots:
|
|
|
/// Set corner annotation \a text
|
|
|
void setCornerAnnotationText(const QString& text);
|
|
|
|
|
|
+ /// Show/Hide Orientation widget
|
|
|
+ void setOrientationWidgetVisible(bool visible);
|
|
|
+
|
|
|
public:
|
|
|
/// Get underlying RenderWindow
|
|
|
vtkRenderWindow* renderWindow()const;
|
|
@@ -82,6 +87,9 @@ public:
|
|
|
/// Get background color
|
|
|
QColor backgroundColor() const;
|
|
|
|
|
|
+ /// Get Orientation widget visibility
|
|
|
+ bool orientationWidgetVisible();
|
|
|
+
|
|
|
/// Get active camera
|
|
|
vtkCamera* activeCamera();
|
|
|
|