Medical Imaging Interaction Toolkit  2021.10.99-cbc78432
Medical Imaging Interaction Toolkit
QmitkRenderWindowWidget Class Reference

The 'QmitkRenderWindowWidget' is a QFrame that holds a render window and some associates properties, like a crosshair (pointset) and decorations. Decorations are corner annotation (text and color), frame color or background color and can be set using this class. The 'QmitkRenderWindowWidget' is used inside a 'QmitkAbstractMultiWidget', where a map contains several render window widgets to create the multi widget display. More...

#include <QmitkRenderWindowWidget.h>

Inheritance diagram for QmitkRenderWindowWidget:
Collaboration diagram for QmitkRenderWindowWidget:

Public Member Functions

 QmitkRenderWindowWidget (QWidget *parent=nullptr, const QString &widgetName="", mitk::DataStorage *dataStorage=nullptr)
 
 ~QmitkRenderWindowWidget () override
 
void SetDataStorage (mitk::DataStorage *dataStorage)
 
const QString & GetWidgetName () const
 
QmitkRenderWindowGetRenderWindow () const
 
mitk::SliceNavigationControllerGetSliceNavigationController () const
 
void RequestUpdate ()
 
void ForceImmediateUpdate ()
 
void SetGradientBackgroundColors (const mitk::Color &upper, const mitk::Color &lower)
 
void ShowGradientBackground (bool enable)
 
std::pair< mitk::Color, mitk::ColorGetGradientBackgroundColors () const
 
bool IsGradientBackgroundOn () const
 
void SetDecorationColor (const mitk::Color &color)
 
mitk::Color GetDecorationColor () const
 
void ShowColoredRectangle (bool show)
 
bool IsColoredRectangleVisible () const
 
void ShowCornerAnnotation (bool show)
 
bool IsCornerAnnotationVisible () const
 
void SetCornerAnnotationText (const std::string &cornerAnnotation)
 
std::string GetCornerAnnotationText () const
 
bool IsRenderWindowMenuActivated () const
 
void ActivateCrosshair (bool activate)
 

Detailed Description

The 'QmitkRenderWindowWidget' is a QFrame that holds a render window and some associates properties, like a crosshair (pointset) and decorations. Decorations are corner annotation (text and color), frame color or background color and can be set using this class. The 'QmitkRenderWindowWidget' is used inside a 'QmitkAbstractMultiWidget', where a map contains several render window widgets to create the multi widget display.

Definition at line 40 of file QmitkRenderWindowWidget.h.

Constructor & Destructor Documentation

◆ QmitkRenderWindowWidget()

QmitkRenderWindowWidget::QmitkRenderWindowWidget ( QWidget *  parent = nullptr,
const QString &  widgetName = "",
mitk::DataStorage dataStorage = nullptr 
)

◆ ~QmitkRenderWindowWidget()

QmitkRenderWindowWidget::~QmitkRenderWindowWidget ( )
override

Member Function Documentation

◆ ActivateCrosshair()

void QmitkRenderWindowWidget::ActivateCrosshair ( bool  activate)

◆ ForceImmediateUpdate()

void QmitkRenderWindowWidget::ForceImmediateUpdate ( )

◆ GetCornerAnnotationText()

std::string QmitkRenderWindowWidget::GetCornerAnnotationText ( ) const

◆ GetDecorationColor()

mitk::Color QmitkRenderWindowWidget::GetDecorationColor ( ) const
inline

Definition at line 69 of file QmitkRenderWindowWidget.h.

◆ GetGradientBackgroundColors()

std::pair<mitk::Color, mitk::Color> QmitkRenderWindowWidget::GetGradientBackgroundColors ( ) const
inline

Definition at line 65 of file QmitkRenderWindowWidget.h.

◆ GetRenderWindow()

QmitkRenderWindow* QmitkRenderWindowWidget::GetRenderWindow ( ) const
inline

Definition at line 56 of file QmitkRenderWindowWidget.h.

◆ GetSliceNavigationController()

mitk::SliceNavigationController* QmitkRenderWindowWidget::GetSliceNavigationController ( ) const

◆ GetWidgetName()

const QString& QmitkRenderWindowWidget::GetWidgetName ( ) const
inline

Definition at line 55 of file QmitkRenderWindowWidget.h.

◆ IsColoredRectangleVisible()

bool QmitkRenderWindowWidget::IsColoredRectangleVisible ( ) const

◆ IsCornerAnnotationVisible()

bool QmitkRenderWindowWidget::IsCornerAnnotationVisible ( ) const

◆ IsGradientBackgroundOn()

bool QmitkRenderWindowWidget::IsGradientBackgroundOn ( ) const

◆ IsRenderWindowMenuActivated()

bool QmitkRenderWindowWidget::IsRenderWindowMenuActivated ( ) const

◆ RequestUpdate()

void QmitkRenderWindowWidget::RequestUpdate ( )

◆ SetCornerAnnotationText()

void QmitkRenderWindowWidget::SetCornerAnnotationText ( const std::string &  cornerAnnotation)

◆ SetDataStorage()

void QmitkRenderWindowWidget::SetDataStorage ( mitk::DataStorage dataStorage)

◆ SetDecorationColor()

void QmitkRenderWindowWidget::SetDecorationColor ( const mitk::Color color)

◆ SetGradientBackgroundColors()

void QmitkRenderWindowWidget::SetGradientBackgroundColors ( const mitk::Color upper,
const mitk::Color lower 
)

◆ ShowColoredRectangle()

void QmitkRenderWindowWidget::ShowColoredRectangle ( bool  show)

◆ ShowCornerAnnotation()

void QmitkRenderWindowWidget::ShowCornerAnnotation ( bool  show)

◆ ShowGradientBackground()

void QmitkRenderWindowWidget::ShowGradientBackground ( bool  enable)

The documentation for this class was generated from the following file: