Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkUGCombinedRepresentationPropertyWidget Class Reference

Combined combo box editor for unstructured grid representation and volume mapper properties. More...

#include <QmitkUGCombinedRepresentationPropertyWidget.h>

Inheritance diagram for QmitkUGCombinedRepresentationPropertyWidget:
Collaboration diagram for QmitkUGCombinedRepresentationPropertyWidget:

Public Member Functions

 QmitkUGCombinedRepresentationPropertyWidget (QWidget *parent=nullptr)
 Construct the widget. More...
 
 ~QmitkUGCombinedRepresentationPropertyWidget () override
 Destructor. More...
 
void SetProperty (mitk::GridRepresentationProperty *gridRepresentation, mitk::GridVolumeMapperProperty *volumeMapper, mitk::BoolProperty *volumeProp)
 Bind the widget to grid representation, volume mapper, and volume toggle properties. More...
 

Protected Slots

void OnIndexChanged (int index)
 

Protected Member Functions

void SetGridRepresentationId (int enumId)
 
void SetGridVolumeId (int enumId)
 
void IsVolumeChanged (bool volume)
 

Protected Attributes

_UGCombinedEnumPropEditor * gridRepPropEditor
 
_UGCombinedEnumPropEditor * volumeMapperPropEditor
 
_UGCombinedBoolPropEditor * volumePropEditor
 
int m_GridRepIndex
 
int m_GridVolIndex
 
int m_FirstVolumeRepId
 
QHash< int, int > m_MapRepEnumToIndex
 
QHash< int, int > m_MapVolEnumToIndex
 

Detailed Description

Combined combo box editor for unstructured grid representation and volume mapper properties.

Merges grid representation options (wireframe, surface, etc.) and volume rendering mapper options into a single combo box. Volume mapper entries are prefixed with "Volume (...)". Selecting a surface representation disables volume mode; selecting a volume entry enables it.

See also
mitk::GridRepresentationProperty, mitk::GridVolumeMapperProperty

Definition at line 40 of file QmitkUGCombinedRepresentationPropertyWidget.h.

Constructor & Destructor Documentation

◆ QmitkUGCombinedRepresentationPropertyWidget()

QmitkUGCombinedRepresentationPropertyWidget::QmitkUGCombinedRepresentationPropertyWidget ( QWidget *  parent = nullptr)

Construct the widget.

Parameters
[in]parentThe parent widget.

◆ ~QmitkUGCombinedRepresentationPropertyWidget()

QmitkUGCombinedRepresentationPropertyWidget::~QmitkUGCombinedRepresentationPropertyWidget ( )
override

Destructor.

Member Function Documentation

◆ IsVolumeChanged()

void QmitkUGCombinedRepresentationPropertyWidget::IsVolumeChanged ( bool  volume)
protected

◆ OnIndexChanged

void QmitkUGCombinedRepresentationPropertyWidget::OnIndexChanged ( int  index)
protectedslot

◆ SetGridRepresentationId()

void QmitkUGCombinedRepresentationPropertyWidget::SetGridRepresentationId ( int  enumId)
protected

◆ SetGridVolumeId()

void QmitkUGCombinedRepresentationPropertyWidget::SetGridVolumeId ( int  enumId)
protected

◆ SetProperty()

void QmitkUGCombinedRepresentationPropertyWidget::SetProperty ( mitk::GridRepresentationProperty *  gridRepresentation,
mitk::GridVolumeMapperProperty *  volumeMapper,
mitk::BoolProperty *  volumeProp 
)

Bind the widget to grid representation, volume mapper, and volume toggle properties.

Parameters
[in]gridRepresentationThe grid representation enumeration property.
[in]volumeMapperThe grid volume mapper enumeration property.
[in]volumePropThe boolean property toggling volume rendering on/off.

Member Data Documentation

◆ gridRepPropEditor

_UGCombinedEnumPropEditor* QmitkUGCombinedRepresentationPropertyWidget::gridRepPropEditor
protected

◆ m_FirstVolumeRepId

int QmitkUGCombinedRepresentationPropertyWidget::m_FirstVolumeRepId
protected

◆ m_GridRepIndex

int QmitkUGCombinedRepresentationPropertyWidget::m_GridRepIndex
protected

◆ m_GridVolIndex

int QmitkUGCombinedRepresentationPropertyWidget::m_GridVolIndex
protected

◆ m_MapRepEnumToIndex

QHash<int, int> QmitkUGCombinedRepresentationPropertyWidget::m_MapRepEnumToIndex
protected

◆ m_MapVolEnumToIndex

QHash<int, int> QmitkUGCombinedRepresentationPropertyWidget::m_MapVolEnumToIndex
protected

◆ volumeMapperPropEditor

_UGCombinedEnumPropEditor* QmitkUGCombinedRepresentationPropertyWidget::volumeMapperPropEditor
protected

◆ volumePropEditor

_UGCombinedBoolPropEditor* QmitkUGCombinedRepresentationPropertyWidget::volumePropEditor
protected

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