| 1581 | } |
| 1582 | |
| 1583 | void mitk::MultiLabelSegmentation::SetAllLabelsVisibleByGroup(GroupIndexType group, bool visible) |
| 1584 | { |
| 1585 | auto setVisibility = [visible, this](Label* l) |
| 1586 | { |
| 1587 | l->SetVisible(visible); |
| 1588 | this->UpdateLookupTable(l->GetValue()); |
| 1589 | }; |
| 1590 | |
| 1591 | this->ApplyToLabels(this->GetLabelValuesByGroup(group), setVisibility); |
| 1592 | this->m_LookupTable->Modified(); |
| 1593 | } |
| 1594 | |
| 1595 | void mitk::MultiLabelSegmentation::SetAllLabelsVisibleByName(GroupIndexType group, const std::string_view name, bool visible) |
| 1596 | { |
nothing calls this directly
no test coverage detected