Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkSegmentationUtilityWidget Class Reference

Base class for segmentation utility widgets that need access to the time navigation controller. More...

#include <QmitkSegmentationUtilityWidget.h>

Inheritance diagram for QmitkSegmentationUtilityWidget:
Collaboration diagram for QmitkSegmentationUtilityWidget:

Public Member Functions

 QmitkSegmentationUtilityWidget (mitk::SliceNavigationController *timeNavigationController, QWidget *parent=nullptr)
 
 ~QmitkSegmentationUtilityWidget () override
 
void SetTimeNavigationController (mitk::SliceNavigationController *timeNavigationController)
 Usually called only from QmitkSegmentationUtilitiesView::RenderWindowPartActivated() and QmitkSegmentationUtilitiesView::RenderWindowPartDeactivated(). More...
 

Protected Member Functions

mitk::SliceNavigationControllerGetTimeNavigationController () const
 Call this method to access the time navigation controller. More...
 

Detailed Description

Base class for segmentation utility widgets that need access to the time navigation controller.

Call GetTimeNavigationController() in your derived class to gain access to the time navigation controller. The time navigation controller is not not available at all times and hence this method can return nullptr.

Definition at line 30 of file QmitkSegmentationUtilityWidget.h.

Constructor & Destructor Documentation

◆ QmitkSegmentationUtilityWidget()

QmitkSegmentationUtilityWidget::QmitkSegmentationUtilityWidget ( mitk::SliceNavigationController timeNavigationController,
QWidget *  parent = nullptr 
)
explicit

◆ ~QmitkSegmentationUtilityWidget()

QmitkSegmentationUtilityWidget::~QmitkSegmentationUtilityWidget ( )
override

Member Function Documentation

◆ GetTimeNavigationController()

mitk::SliceNavigationController* QmitkSegmentationUtilityWidget::GetTimeNavigationController ( ) const
protected

Call this method to access the time navigation controller.

Returns
Pointer to the time navigation controller or nullptr, if it is not available.

◆ SetTimeNavigationController()

void QmitkSegmentationUtilityWidget::SetTimeNavigationController ( mitk::SliceNavigationController timeNavigationController)

Usually called only from QmitkSegmentationUtilitiesView::RenderWindowPartActivated() and QmitkSegmentationUtilitiesView::RenderWindowPartDeactivated().


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