| 1593 | } |
| 1594 | |
| 1595 | void mitk::MultiLabelSegmentation::SetAllLabelsVisibleByName(GroupIndexType group, const std::string_view name, bool visible) |
| 1596 | { |
| 1597 | auto setVisibility = [visible, this](Label* l) |
| 1598 | { |
| 1599 | l->SetVisible(visible); |
| 1600 | this->UpdateLookupTable(l->GetValue()); |
| 1601 | }; |
| 1602 | |
| 1603 | this->ApplyToLabels(this->GetLabelValuesByName(group, name), setVisibility); |
| 1604 | this->m_LookupTable->Modified(); |
| 1605 | } |
| 1606 | |
| 1607 | void mitk::MultiLabelSegmentation::SetAllLabelsLocked(bool locked) |
| 1608 | { |
nothing calls this directly
no test coverage detected