| 639 | } |
| 640 | |
| 641 | void mitk::MultiLabelSegmentation::SetGroupName(GroupIndexType groupID, const std::string& name) |
| 642 | { |
| 643 | if (!this->ExistGroup(groupID)) |
| 644 | mitkThrow() << "Error, cannot set group name. Group ID is invalid. Invalid ID: " << groupID; |
| 645 | |
| 646 | m_Groups[groupID] = name; |
| 647 | this->InvokeEvent(GroupModifiedEvent(groupID)); |
| 648 | } |
| 649 | |
| 650 | |
| 651 | void mitk::MultiLabelSegmentation::SetActiveLabel(LabelValueType label) |