| 1560 | } |
| 1561 | |
| 1562 | std::vector<std::string> mitk::MultiLabelSegmentation::GetLabelClassNamesByGroup(GroupIndexType index) const |
| 1563 | { |
| 1564 | std::set<std::string> names; |
| 1565 | auto searchName = [&names](const Label* l) { names.emplace(l->GetName()); }; |
| 1566 | this->VisitLabels(this->GetLabelValuesByGroup(index), searchName); |
| 1567 | |
| 1568 | return std::vector<std::string>(names.begin(), names.end()); |
| 1569 | } |
| 1570 | |
| 1571 | void mitk::MultiLabelSegmentation::SetAllLabelsVisible(bool visible) |
| 1572 | { |