17 #ifndef QmitkLabelSetWidget_h
18 #define QmitkLabelSetWidget_h
25 #include <ui_QmitkLabelSetWidgetControls.h>
50 void SetOrganColors(
const QStringList &organColors);
52 void UpdateControls();
54 virtual void setEnabled(
bool enabled);
56 QStringList &GetLabelStringList();
66 void ResetAllTableWidgetItems();
67 void UpdateAllTableWidgetItems();
73 void OnOpacityChanged(
int);
74 void OnUnlockAllLabels(
bool);
75 void OnLockAllLabels(
bool);
76 void OnSetAllLabelsVisible(
bool);
77 void OnSetAllLabelsInvisible(
bool);
78 void OnSetOnlyActiveLabelVisible(
bool);
79 void OnRandomColor(
bool);
80 void OnRemoveLabel(
bool);
81 void OnRemoveLabels(
bool);
82 void OnRenameLabel(
bool);
83 void OnLockedButtonClicked();
84 void OnVisibleButtonClicked();
85 void OnColorButtonClicked();
86 void OnItemClicked(QTableWidgetItem *item);
87 void OnItemDoubleClicked(QTableWidgetItem *item);
88 void OnTableViewContextMenuRequested(
const QPoint &);
90 void UpdateTableWidgetItem(QTableWidgetItem *item);
94 void OnActiveLabelChanged(
int pixelValue);
97 void OnCreateDetailedSurface(
bool);
98 void OnCreateSmoothedSurface(
bool);
100 void OnCreateMask(
bool);
101 void OnCreateMasks(
bool);
103 void OnCreateCroppedMask(
bool);
104 void OnCombineAndCreateMask(
bool);
105 void OnCombineAndCreateSurface(
bool);
106 void OnEraseLabel(
bool);
107 void OnEraseLabels(
bool);
109 void OnMergeLabel(
bool);
110 void OnMergeLabels(
bool);
112 void OnImportSegmentation();
114 void OnImportLabeledImage();
117 void OnLabelListModified(
const QStringList &list);
119 void OnToggleOutline(
bool);
132 void WaitCursorOff();
134 void RestoreOverrideCursor();
136 void OnThreadedCalculationDone();
138 void InitializeTableWidget();
140 int GetPixelValueOfSelectedItem();
146 Ui::QmitkLabelSetWidgetControls m_Controls;
150 QCompleter *m_Completer;
156 QStringList m_OrganColors;
158 QStringList m_LabelStringList;
Data management class that handles 'was created by' relations.
Displays all or a subset (defined by a predicate) of nodes of the Data Storage.
DataCollection - Class to facilitate loading/accessing structured data.
A data structure describing a label.
mitk::DataStorage::Pointer m_DataStorage
LabelSetImage class for handling labels and layers in a segmentation session.
Class for nodes of the DataTree.
#define MITKSEGMENTATIONUI_EXPORT