Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkBoundingObjectWidget Class Reference

#include <QmitkBoundingObjectWidget.h>

Inheritance diagram for QmitkBoundingObjectWidget:
Collaboration diagram for QmitkBoundingObjectWidget:

Signals

void BoundingObjectsChanged ()
 

Public Member Functions

 QmitkBoundingObjectWidget (QWidget *parent=nullptr, Qt::WindowFlags f={})
 
 ~QmitkBoundingObjectWidget () override
 
void SetDataStorage (mitk::DataStorage *dataStorage)
 
mitk::DataStorageGetDataStorage ()
 
mitk::BoundingObject::Pointer GetSelectedBoundingObject ()
 
mitk::DataNode::Pointer GetSelectedBoundingObjectNode ()
 
mitk::DataNode::Pointer GetAllBoundingObjects ()
 
void setEnabled (bool flag)
 
void OnBoundingObjectModified (const itk::EventObject &e)
 
void RemoveAllItems ()
 

Protected Types

enum  BoundingObjectType { CUBOID, CONE, ELLIPSOID, CYLINDER }
 
typedef std::map< QTreeWidgetItem *, mitk::DataNode * > ItemNodeMapType
 

Protected Slots

void CreateBoundingObject (int type)
 
void OnDelButtonClicked ()
 
void SelectionChanged ()
 
void OnItemDoubleClicked (QTreeWidgetItem *item, int col)
 
void OnItemDataChanged (QTreeWidgetItem *item, int col)
 

Protected Member Functions

void AddItem (mitk::DataNode *node)
 
void RemoveItem ()
 

Protected Attributes

mitk::DataStoragem_DataStorage
 
QTreeWidget * m_TreeWidget
 
QComboBox * m_addComboBox
 
QPushButton * m_DelButton
 
QPushButton * m_SaveButton
 
QPushButton * m_LoadButton
 
QTreeWidgetItem * m_lastSelectedItem
 
unsigned long m_lastAffineObserver
 
ItemNodeMapType m_ItemNodeMap
 
unsigned int m_BoundingObjectCounter
 

Detailed Description

Definition at line 27 of file QmitkBoundingObjectWidget.h.

Member Typedef Documentation

◆ ItemNodeMapType

typedef std::map<QTreeWidgetItem *, mitk::DataNode *> QmitkBoundingObjectWidget::ItemNodeMapType
protected

Definition at line 72 of file QmitkBoundingObjectWidget.h.

Member Enumeration Documentation

◆ BoundingObjectType

Enumerator
CUBOID 
CONE 
ELLIPSOID 
CYLINDER 

Definition at line 77 of file QmitkBoundingObjectWidget.h.

Constructor & Destructor Documentation

◆ QmitkBoundingObjectWidget()

QmitkBoundingObjectWidget::QmitkBoundingObjectWidget ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = {} 
)

◆ ~QmitkBoundingObjectWidget()

QmitkBoundingObjectWidget::~QmitkBoundingObjectWidget ( )
override

Member Function Documentation

◆ AddItem()

void QmitkBoundingObjectWidget::AddItem ( mitk::DataNode node)
protected

◆ BoundingObjectsChanged

void QmitkBoundingObjectWidget::BoundingObjectsChanged ( )
signal

◆ CreateBoundingObject

void QmitkBoundingObjectWidget::CreateBoundingObject ( int  type)
protectedslot

◆ GetAllBoundingObjects()

mitk::DataNode::Pointer QmitkBoundingObjectWidget::GetAllBoundingObjects ( )

◆ GetDataStorage()

mitk::DataStorage* QmitkBoundingObjectWidget::GetDataStorage ( )

◆ GetSelectedBoundingObject()

mitk::BoundingObject::Pointer QmitkBoundingObjectWidget::GetSelectedBoundingObject ( )

◆ GetSelectedBoundingObjectNode()

mitk::DataNode::Pointer QmitkBoundingObjectWidget::GetSelectedBoundingObjectNode ( )

◆ OnBoundingObjectModified()

void QmitkBoundingObjectWidget::OnBoundingObjectModified ( const itk::EventObject &  e)

◆ OnDelButtonClicked

void QmitkBoundingObjectWidget::OnDelButtonClicked ( )
protectedslot

◆ OnItemDataChanged

void QmitkBoundingObjectWidget::OnItemDataChanged ( QTreeWidgetItem *  item,
int  col 
)
protectedslot

◆ OnItemDoubleClicked

void QmitkBoundingObjectWidget::OnItemDoubleClicked ( QTreeWidgetItem *  item,
int  col 
)
protectedslot

◆ RemoveAllItems()

void QmitkBoundingObjectWidget::RemoveAllItems ( )

◆ RemoveItem()

void QmitkBoundingObjectWidget::RemoveItem ( )
protected

◆ SelectionChanged

void QmitkBoundingObjectWidget::SelectionChanged ( )
protectedslot

◆ SetDataStorage()

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

◆ setEnabled()

void QmitkBoundingObjectWidget::setEnabled ( bool  flag)

Member Data Documentation

◆ m_addComboBox

QComboBox* QmitkBoundingObjectWidget::m_addComboBox
protected

Definition at line 65 of file QmitkBoundingObjectWidget.h.

◆ m_BoundingObjectCounter

unsigned int QmitkBoundingObjectWidget::m_BoundingObjectCounter
protected

Definition at line 75 of file QmitkBoundingObjectWidget.h.

◆ m_DataStorage

mitk::DataStorage* QmitkBoundingObjectWidget::m_DataStorage
protected

Definition at line 63 of file QmitkBoundingObjectWidget.h.

◆ m_DelButton

QPushButton* QmitkBoundingObjectWidget::m_DelButton
protected

Definition at line 66 of file QmitkBoundingObjectWidget.h.

◆ m_ItemNodeMap

ItemNodeMapType QmitkBoundingObjectWidget::m_ItemNodeMap
protected

Definition at line 73 of file QmitkBoundingObjectWidget.h.

◆ m_lastAffineObserver

unsigned long QmitkBoundingObjectWidget::m_lastAffineObserver
protected

Definition at line 70 of file QmitkBoundingObjectWidget.h.

◆ m_lastSelectedItem

QTreeWidgetItem* QmitkBoundingObjectWidget::m_lastSelectedItem
protected

Definition at line 69 of file QmitkBoundingObjectWidget.h.

◆ m_LoadButton

QPushButton* QmitkBoundingObjectWidget::m_LoadButton
protected

Definition at line 68 of file QmitkBoundingObjectWidget.h.

◆ m_SaveButton

QPushButton* QmitkBoundingObjectWidget::m_SaveButton
protected

Definition at line 67 of file QmitkBoundingObjectWidget.h.

◆ m_TreeWidget

QTreeWidget* QmitkBoundingObjectWidget::m_TreeWidget
protected

Definition at line 64 of file QmitkBoundingObjectWidget.h.


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