13 #ifndef QmitkLabelSetWidget_h 14 #define QmitkLabelSetWidget_h 21 #include <ui_QmitkLabelSetWidgetControls.h> 46 void SetOrganColors(
const QStringList &organColors);
48 void UpdateControls();
50 virtual void setEnabled(
bool enabled);
52 QStringList &GetLabelStringList();
69 void UpdateAllTableWidgetItems();
77 void ResetAllTableWidgetItems();
83 void OnOpacityChanged(
int);
84 void OnUnlockAllLabels(
bool);
85 void OnLockAllLabels(
bool);
86 void OnSetAllLabelsVisible(
bool);
87 void OnSetAllLabelsInvisible(
bool);
88 void OnSetOnlyActiveLabelVisible(
bool);
89 void OnRandomColor(
bool);
90 void OnRemoveLabel(
bool);
91 void OnRemoveLabels(
bool);
92 void OnRenameLabel(
bool);
93 void OnLockedButtonClicked();
94 void OnVisibleButtonClicked();
95 void OnColorButtonClicked();
96 void OnItemClicked(QTableWidgetItem *item);
97 void OnItemDoubleClicked(QTableWidgetItem *item);
98 void OnTableViewContextMenuRequested(
const QPoint &);
100 void UpdateTableWidgetItem(QTableWidgetItem *item);
102 void OnSearchLabel();
104 void OnActiveLabelChanged(
int pixelValue);
107 void OnCreateDetailedSurface(
bool);
108 void OnCreateSmoothedSurface(
bool);
110 void OnCreateMask(
bool);
111 void OnCreateMasks(
bool);
113 void OnCreateCroppedMask(
bool);
114 void OnCombineAndCreateMask(
bool);
115 void OnCombineAndCreateSurface(
bool);
116 void OnEraseLabel(
bool);
117 void OnEraseLabels(
bool);
119 void OnMergeLabel(
bool);
120 void OnMergeLabels(
bool);
122 void OnImportSegmentation();
124 void OnImportLabeledImage();
127 void OnLabelListModified(
const QStringList &list);
129 void OnToggleOutline(
bool);
142 void WaitCursorOff();
144 void RestoreOverrideCursor();
146 void OnThreadedCalculationDone();
148 void InitializeTableWidget();
150 int GetPixelValueOfSelectedItem();
156 Ui::QmitkLabelSetWidgetControls m_Controls;
162 QCompleter *m_Completer;
166 QStringList m_OrganColors;
168 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