| 1024 | } |
| 1025 | |
| 1026 | mitk::Label *mitk::MultiLabelSegmentation::GetActiveLabel() |
| 1027 | { |
| 1028 | if (m_ActiveLabelValue == UNLABELED_VALUE) return nullptr; |
| 1029 | |
| 1030 | auto finding = m_LabelMap.find(m_ActiveLabelValue); |
| 1031 | return finding == m_LabelMap.end() ? nullptr : finding->second; |
| 1032 | } |
| 1033 | |
| 1034 | const mitk::Label* mitk::MultiLabelSegmentation::GetActiveLabel() const |
| 1035 | { |