| 728 | } |
| 729 | |
| 730 | void mitk::MultiLabelSegmentation::ClearGroupImages() |
| 731 | { |
| 732 | for (GroupIndexType groupID = 0; groupID < m_GroupContainer.size(); ++groupID) |
| 733 | { |
| 734 | try |
| 735 | { |
| 736 | auto groupImage = this->GetGroupImage(groupID); |
| 737 | ClearImageBuffer(groupImage); |
| 738 | groupImage->Modified(); |
| 739 | this->InvokeEvent(LabelsChangedEvent(this->GetLabelValuesByGroup(groupID))); |
| 740 | this->InvokeEvent(GroupModifiedEvent(groupID)); |
| 741 | } |
| 742 | catch (itk::ExceptionObject& e) |
| 743 | { |
| 744 | mitkThrow() << e.GetDescription(); |
| 745 | } |
| 746 | } |
| 747 | this->Modified(); |
| 748 | } |
| 749 | |
| 750 | void mitk::MultiLabelSegmentation::ClearGroupImages(TimeStepType timestep) |
| 751 | { |
no test coverage detected