21 #ifndef __qMRMLSliceWidget_h 22 #define __qMRMLSliceWidget_h 26 #include <vtkVersion.h> 31 #include "qMRMLWidgetsExport.h" 34 class qMRMLSliceWidgetPrivate;
43 class vtkAlgorithmOutput;
45 class vtkInteractorObserver;
46 class vtkCornerAnnotation;
52 Q_PROPERTY(QString sliceOrientation READ sliceOrientation WRITE setSliceOrientation)
73 QString sliceOrientation()
const;
77 Q_INVOKABLE vtkAlgorithmOutput* imageDataConnection()
const;
84 QString sliceViewName()
const;
88 void setSliceViewName(
const QString& newSliceViewName);
92 QString sliceViewLabel()
const;
96 void setSliceViewLabel(
const QString& newSliceViewLabel);
100 QColor sliceViewColor()
const;
104 void setSliceViewColor(
const QColor& newSliceViewColor);
110 Q_INVOKABLE vtkInteractorObserver* interactorStyle()
const;
113 vtkCornerAnnotation* overlayCornerAnnotation()
const;
116 void setSliceLogics(vtkCollection* logics);
134 void setImageDataConnection(vtkAlgorithmOutput* newImageDataConnection);
138 void setSliceOrientation(
const QString& orienation);
141 void fitSliceToBackground();
148 virtual void showEvent(QShowEvent *);
150 QScopedPointer<qMRMLSliceWidgetPrivate>
d_ptr;
MRML node for storing a slice through RAS space.
MRML node for storing a slice through RAS space.
2D view for slice nodes. For performance reasons, the view block refreshs when the scene is in batch ...
A set of MRML Nodes that supports serialization and undo/redo.
Abstract Superclass for all specific types of MRML nodes.
Slicer logic class for slice manipulation.