13 #ifndef QMITKRENDERWINDOWWIDGET_H 14 #define QMITKRENDERWINDOWWIDGET_H 27 #include <QHBoxLayout> 28 #include <QMouseEvent> 30 class vtkCornerAnnotation;
47 QWidget* parent =
nullptr,
48 const QString& widgetName =
"",
61 void ForceImmediateUpdate();
64 void ShowGradientBackground(
bool enable);
66 bool IsGradientBackgroundOn()
const;
71 void ShowColoredRectangle(
bool show);
72 bool IsColoredRectangleVisible()
const;
74 void ShowCornerAnnotation(
bool show);
75 bool IsCornerAnnotationVisible()
const;
76 void SetCornerAnnotationText(
const std::string& cornerAnnotation);
77 std::string GetCornerAnnotationText()
const;
79 bool IsRenderWindowMenuActivated()
const;
81 void ActivateCrosshair(
bool activate);
85 void MouseEvent(QMouseEvent* e);
90 void InitializeDecorations();
95 QHBoxLayout* m_Layout;
104 std::pair<mitk::Color, mitk::Color> m_GradientBackgroundColors;
106 vtkSmartPointer<vtkCornerAnnotation> m_CornerAnnotation;
110 #endif // QMITKRENDERWINDOWWIDGET_H
Data management class that handles 'was created by' relations.
Controls the selection of the slice the associated BaseRenderer will display.
mitk::DataStorage::Pointer m_DataStorage
MITK implementation of the QVTKWidget.
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)