Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkSimpleBarrierManagerWidget Class Reference

Widget that allows to edit the constraints of SimpleBarrierConstraintChecker. More...

#include <QmitkSimpleBarrierManagerWidget.h>

Inheritance diagram for QmitkSimpleBarrierManagerWidget:
Collaboration diagram for QmitkSimpleBarrierManagerWidget:

Public Slots

void setChecker (mitk::SimpleBarrierConstraintChecker *pChecker, const mitk::ModelTraitsInterface::ParameterNamesType &names)
 

Signals

void ConstraintChanged (mitk::SimpleBarrierConstraintChecker::Constraint constraint)
 

Public Member Functions

 QmitkSimpleBarrierManagerWidget (QWidget *parent=nullptr)
 
 ~QmitkSimpleBarrierManagerWidget () override
 

Protected Slots

void OnShowContextMenuIsoSet (const QPoint &pos)
 
void OnAddConstraint (bool checked)
 
void OnDelConstraint (bool checked)
 

Protected Member Functions

void update ()
 Updates the widget according to its current settings. More...
 

Protected Attributes

mitk::SimpleBarrierConstraintChecker::Pointer m_Checker
 
mitk::ModelTraitsInterface::ParameterNamesType m_ParameterNames
 
QmitkSimpleBarrierModelm_InternalModel
 
QmitkSimpleBarrierTypeDelegatem_TypeDelegate
 
QmitkSimpleBarrierParametersDelegatem_ParametersDelegate
 
bool m_InternalUpdate
 
Ui::QmitkSimpleBarrierManagerWidget m_Controls
 

Detailed Description

Widget that allows to edit the constraints of SimpleBarrierConstraintChecker.

Definition at line 33 of file QmitkSimpleBarrierManagerWidget.h.

Constructor & Destructor Documentation

◆ QmitkSimpleBarrierManagerWidget()

QmitkSimpleBarrierManagerWidget::QmitkSimpleBarrierManagerWidget ( QWidget *  parent = nullptr)

◆ ~QmitkSimpleBarrierManagerWidget()

QmitkSimpleBarrierManagerWidget::~QmitkSimpleBarrierManagerWidget ( )
override

Member Function Documentation

◆ ConstraintChanged

void QmitkSimpleBarrierManagerWidget::ConstraintChanged ( mitk::SimpleBarrierConstraintChecker::Constraint  constraint)
signal

◆ OnAddConstraint

void QmitkSimpleBarrierManagerWidget::OnAddConstraint ( bool  checked)
protectedslot

◆ OnDelConstraint

void QmitkSimpleBarrierManagerWidget::OnDelConstraint ( bool  checked)
protectedslot

◆ OnShowContextMenuIsoSet

void QmitkSimpleBarrierManagerWidget::OnShowContextMenuIsoSet ( const QPoint &  pos)
protectedslot

◆ setChecker

void QmitkSimpleBarrierManagerWidget::setChecker ( mitk::SimpleBarrierConstraintChecker pChecker,
const mitk::ModelTraitsInterface::ParameterNamesType names 
)
slot

Sets the data handled by the model and resets the modified flag

Parameters
pCheckerPointer to the checker instance that should be managed.
namesList of all possible parameter names. It is assumed that the index of the list equals the parameter index in the respective fitting model.

◆ update()

void QmitkSimpleBarrierManagerWidget::update ( )
protected

Updates the widget according to its current settings.

Member Data Documentation

◆ m_Checker

mitk::SimpleBarrierConstraintChecker::Pointer QmitkSimpleBarrierManagerWidget::m_Checker
protected

Definition at line 64 of file QmitkSimpleBarrierManagerWidget.h.

◆ m_Controls

Ui::QmitkSimpleBarrierManagerWidget QmitkSimpleBarrierManagerWidget::m_Controls
protected

Definition at line 73 of file QmitkSimpleBarrierManagerWidget.h.

◆ m_InternalModel

QmitkSimpleBarrierModel* QmitkSimpleBarrierManagerWidget::m_InternalModel
protected

Definition at line 67 of file QmitkSimpleBarrierManagerWidget.h.

◆ m_InternalUpdate

bool QmitkSimpleBarrierManagerWidget::m_InternalUpdate
protected

Definition at line 71 of file QmitkSimpleBarrierManagerWidget.h.

◆ m_ParameterNames

mitk::ModelTraitsInterface::ParameterNamesType QmitkSimpleBarrierManagerWidget::m_ParameterNames
protected

Definition at line 65 of file QmitkSimpleBarrierManagerWidget.h.

◆ m_ParametersDelegate

QmitkSimpleBarrierParametersDelegate* QmitkSimpleBarrierManagerWidget::m_ParametersDelegate
protected

Definition at line 69 of file QmitkSimpleBarrierManagerWidget.h.

◆ m_TypeDelegate

QmitkSimpleBarrierTypeDelegate* QmitkSimpleBarrierManagerWidget::m_TypeDelegate
protected

Definition at line 68 of file QmitkSimpleBarrierManagerWidget.h.


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