52 Q_PROPERTY(QString sliceOrientation READ sliceOrientation WRITE setSliceOrientation)
53 Q_PROPERTY(QString sliceViewName READ sliceViewName WRITE setSliceViewName)
54 Q_PROPERTY(QString sliceViewLabel READ sliceViewLabel WRITE setSliceViewLabel)
55 Q_PROPERTY(QColor sliceViewColor READ sliceViewColor WRITE setSliceViewColor)
56 Q_PROPERTY(Qt::Orientation sliceOffsetSliderOrientation READ sliceOffsetSliderOrientation WRITE setSliceOffsetSliderOrientation)
84 Q_INVOKABLE QString sliceOrientation()const;
88 Q_INVOKABLE vtkAlgorithmOutput* imageDataConnection()const;
95 QString sliceViewName()const;
99 void setSliceViewName(const QString& newSliceViewName);
103 QString sliceViewLabel()const;
107 void setSliceViewLabel(const QString& newSliceViewLabel);
111 QColor sliceViewColor()const;
115 void setSliceViewColor(const QColor& newSliceViewColor);
121 Q_INVOKABLE vtkInteractorObserver* interactorStyle()const;
124 Q_INVOKABLE vtkCornerAnnotation* overlayCornerAnnotation()const;
127 Q_INVOKABLE
void setSliceLogics(vtkCollection* logics);
133 Q_INVOKABLE QWidget* viewWidget()const override;
137 Qt::Orientation sliceOffsetSliderOrientation() const;
149 void setImageDataConnection(vtkAlgorithmOutput* newImageDataConnection);
153 void setSliceOrientation(const QString& orientation);
156 void fitSliceToBackground();
160 void setSliceOffsetSliderOrientation(Qt::Orientation orientation);
167 void showEvent(QShowEvent *) override;
169 QScopedPointer<qMRMLSliceWidgetPrivate> d_ptr;