| 1551 | } |
| 1552 | |
| 1553 | std::vector<std::string> mitk::MultiLabelSegmentation::GetLabelClassNames() const |
| 1554 | { |
| 1555 | std::set<std::string> names; |
| 1556 | auto searchName = [&names](const Label* l) { names.emplace(l->GetName()); }; |
| 1557 | this->VisitLabels(this->GetAllLabelValues(), searchName); |
| 1558 | |
| 1559 | return std::vector<std::string>(names.begin(), names.end()); |
| 1560 | } |
| 1561 | |
| 1562 | std::vector<std::string> mitk::MultiLabelSegmentation::GetLabelClassNamesByGroup(GroupIndexType index) const |
| 1563 | { |